Successfully Connected To OpenVPN on pfSense - But no LAN and Internet Access
-
Couple of years ago, I've setup my OVPN correctly using pfSense 2.1.4 before - I followed a blog post.
Now, I am trying it again on a VirtualBox environment, with two dedicated Ethernet Ports - bridged. 1 for WAN, 1 for LAN
I've created the OVPN Server using pfSense GUI, went through the wizard and had completed the setup. Exported the client bundle for Linux.
My Linuxmint machine, using network manager, can connect to the VPN with no problem.
BUT, once connected I can NO longer access 192.168.1.1 and the Internet.
pfSense's WAN address is getting it from my LTE Modem/Router from one of its LAN Port.
Here are my connection details:
LTE Modem/Router Subnet:
192.168.254.0pfSense (192.168.1.1) Subnet:
192.168.1.0OVPN Subnet:
10.0.1.0Client Machine:
Linuxmint 18 - via Network ManagerNetstat Result - Without VPN:
| Destination | Gateway | Genmask | Flags | MSS | Window | irtt | Iface |
| 0.0.0.0 | 192.168.1.1 | 0.0.0.0 | UG | 0 | 0 | 0 | eth0 |
| 169.254.0.0 | 0.0.0.0 | 255.255.0.0 | U | 0 | 0 | 0 | eth0 |
| 192.168.1.0 | 0.0.0.0 | 255.255.255.0 | U | 0 | 0 | 0 | eth0 |Netstat Result - With VPN:
| Destination | Gateway | Genmask | Flags | MSS | Window | irtt | Iface |
| 0.0.0.0 | 10.0.1.1 | 0.0.0.0 | UG | 0 | 0 | 0 | tun0 |
| 0.0.0.0 | 192.168.1.1 | 0.0.0.0 | UG | 0 | 0 | 0 | eth0 |
| 10.0.1.0 | 0.0.0.0 | 255.255.255.0 | U | 0 | 0 | 0 | tun0 |
| 169.254.0.0 | 0.0.0.0 | 255.255.0.0 | U | 0 | 0 | 0 | eth0 |
| 192.168.1.0 | 10.0.1.1 | 255.255.255.0 | UG | 0 | 0 | 0 | tun0 |
| 192.168.1.0 | 0.0.0.0 | 255.255.255.0 | U | 0 | 0 | 0 | eth0 |IP Route List With VPN:
default via 10.0.1.1 dev tun0 proto static metric 50 default via 192.168.1.1 dev eth0 proto static metric 100 10.0.1.0/24 dev tun0 proto kernel scope link src 10.0.1.2 metric 50 169.254.0.0/16 dev eth0 scope link metric 1000 192.168.1.0/24 via 10.0.1.1 dev tun0 proto static metric 50 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.101 metric 100
IP Route List Without VPN:
default via 192.168.1.1 dev eth0 proto static metric 100 169.254.0.0/16 dev eth0 scope link metric 1000 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.101 metric 100