OpenVPN does not work on bridged PFsense router
-
@george1116 dang
-
@george1116 Hold on ...
@george1116 said in OpenVPN does not work on bridged PFsense router:
I then installed openVPN on my pfsense router, but when I am connected directly to my home router (the bridged router) openVPN is not able to connect, however, when I connect via tethering to my mobile device hotstpo OpenVPN connects successfully.
Are you attempting to connect while you are on the private network that has pfSense??
That won't work if that is what you are doing, this is for when you are not home and want to access your NAS or home network.
Are you connected to your hotspot on your laptop? And this works?
After you test connected to your LAN and VPN to your device correct and this is when it fails?
If this is the case, you need a rule for your LAN to route that traffic you want for your VPN too, right now it is set up for WAN VPN access..
Example: ( I am working on a Java program at home it's huge I debug it at work and or school and I want to work on the same file so I have it saved on my NAS, I access my VPN and work on that same file remotely on the NAS)
-
@viragomann Same error from the server
-
@george1116
The client tries to connect via IPv6.
Is this, what you intend? -
No not at all, I just wanted to paint a picture of my setup.
I am attempting to connect while on my home router wifi, the LAN port from that modem-router is bridged and I have pfsense connected to the LAN port.
-
@george1116 it's an IPV6 issue see it in the logs....Do you have that enabled in pfsense?
Change it to upd6 see if that works it was set to udp4 but upd should have set it to auto
-
@viragomann We changed the remote mode to udp so it makes sense that it's trying to connect with ipv6 and ipv4.
-
@george1116
The protocol has nothing to do with the IP version.
Is the server even configured for IPv6?Just try to connect to the IPv4 to see if it makes a difference.
-
@viragomann I had him set it from udp4 to just udp to test it was not working with udp4 on the client export file
-
-
@JonathanLee
If the client config file only has an IPv4 remote line, it would use it, but not IPv6.I guess, he has an host name in the remote line and the internal DNS resolves it to IPv6.
-
-
@viragomann He could create a host override for it right?
-
@george1116 is your wan have ipv6 listed under status in pfsense?
I am thinking set that to ipv4 only and test again
-
@JonathanLee said in OpenVPN does not work on bridged PFsense router:
@viragomann He could create a host override for it right?
I guess, his DNS resolves the host to an IPv6 as mentioned. Presumably due to DHCPv6 DNS registration.
I don't think that a host override would be a solution here. -
@viragomann I wonder if his WAN IP he is connecting to is IPV4, I wonder if that interface shows IPV4 only he said he has a router before pfSense and not pfSense first, so I think pfSense is getting ipv4 only on the wan interface
-
After changing it back this is all I get.
@JonathanLee You mean it shows IPV4 but it really isn't?
-
@george1116 did you use the Wizard or manually set up OpenVPN in pfsense?
-
@JonathanLee I used the wizard
-
@george1116
My suggestion was to edit the client config and replace the host name with the respective IPv4 for testing.