Hello,
I'm trying to get an OpenVPN server to work in a standard 9.2 jail using VIMAGE. I've read the following (which at the time does not recommend running it in a jail) and have my config pretty much identical: http://joepaetzel.wordpress.com/2013/09/22/openvpn-on-freenas-9-1/. I'd really prefer to run this from a jail and not touch the FreeNAS installation, and not have to worry about it being overwritten on updates.
OpenVPN actually works and I can VPN in just fine. However, I can't reach any other computer on the network.
My internal network is 10.2.2.0/24. The OpenVPN server is 10.2.2.102. I'm able to SSH into that address just fine over the VPN. I cannot ping my FreeNAS box or any other machine, though.
Also, instead of going down the road of having to set up a route on my internal network showing how to get back to the VPN network, I'm looking to use IPFW to NAT. My crappy router doesn't allow static routes, so this would be much better in my case. Here is a dump of my ipfw table:
ipfw show
00100 0 0 nat 1 ip from 10.8.0.0/24 to any out via epair0b
00200 8367 1489619 nat 1 ip from any to any in via epair0b
65535 54936 9143316 allow ip from any to any
I'm probably missing out on some fundamentals here, so if anyone can assist, I'd greatly appreciate it.
I'm trying to get an OpenVPN server to work in a standard 9.2 jail using VIMAGE. I've read the following (which at the time does not recommend running it in a jail) and have my config pretty much identical: http://joepaetzel.wordpress.com/2013/09/22/openvpn-on-freenas-9-1/. I'd really prefer to run this from a jail and not touch the FreeNAS installation, and not have to worry about it being overwritten on updates.
OpenVPN actually works and I can VPN in just fine. However, I can't reach any other computer on the network.
My internal network is 10.2.2.0/24. The OpenVPN server is 10.2.2.102. I'm able to SSH into that address just fine over the VPN. I cannot ping my FreeNAS box or any other machine, though.
Also, instead of going down the road of having to set up a route on my internal network showing how to get back to the VPN network, I'm looking to use IPFW to NAT. My crappy router doesn't allow static routes, so this would be much better in my case. Here is a dump of my ipfw table:
ipfw show
00100 0 0 nat 1 ip from 10.8.0.0/24 to any out via epair0b
00200 8367 1489619 nat 1 ip from any to any in via epair0b
65535 54936 9143316 allow ip from any to any
I'm probably missing out on some fundamentals here, so if anyone can assist, I'd greatly appreciate it.