1
Virtual private networks / Re: LAN doesn't get DHCP with OpenVPN using TAP, VPN clients do
« on: March 14, 2022, 10:46:01 pm »
Admittedly, my setup is overly complex due to me treating this as an educational experience and less of a "production" experience. Due to this, I left out certain things in my original description to try to prevent confusion when the reader was reviewing my problem.
One thing that was left out was my use of Hyper-V as the hypervisor that is hosting my OPNsense VM as well as the LAN that I described in my previous post that didn't have addressing getting set to it. I found that if you are using Hyper-V for running OPNsense, and you require a TAP VPN connection from OpenVPN, you need to make sure that you enable MAC spoofing on the OPNsense VM within the settings for that VM in Hyper-V. This allowed the "bridged" interface, that was created in the steps that epoch graciously laid out for us, to communicate out from the _LAN interface that you have your devices connected to in Hyper-V.
Thank you to those that reviewed my problem and took some time out to assist.
One thing that was left out was my use of Hyper-V as the hypervisor that is hosting my OPNsense VM as well as the LAN that I described in my previous post that didn't have addressing getting set to it. I found that if you are using Hyper-V for running OPNsense, and you require a TAP VPN connection from OpenVPN, you need to make sure that you enable MAC spoofing on the OPNsense VM within the settings for that VM in Hyper-V. This allowed the "bridged" interface, that was created in the steps that epoch graciously laid out for us, to communicate out from the _LAN interface that you have your devices connected to in Hyper-V.
Thank you to those that reviewed my problem and took some time out to assist.