I've got an .ovpn file from my VPN provider and using openvpn-client and the provided .ovpn file I am able to connect to their VPN.
When connected I can access the jail from other computers or jails in the same subnet. However when I try to access the jail from a different private subnet I cannot connect. i.e.:
- jail with OpenVPN client at 10.0.0.80 can be accessed from another jail at 10.0.0.50
- jail with OpenVPN client at 10.0.0.80 cannot be accessed from computer 10.0.10.100
I'm pretty new to OpenVPN, is there a client config I can change in the .ovpn file? I don't have access to the OpenVPN server config.
ifconfig output from jail with OpenVPN client:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:ff:60:14:fa:0a hwaddr 02:29:d0:00:09:0b inet 10.0.0.80 netmask 0xffffff00 broadcast 10.0.0.255 nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 options=80000<LINKSTATE> inet 10.2.0.227 --> 10.2.0.1 netmask 0xffffff00 nd6 options=1<PERFORMNUD> groups: tun Opened by PID 13511