OK I am trying again to get OpenVPN to allow Internet traffic from the client to pass through the server. To support this effort I have installed FreeBSD 9.2 on a virtual machine in VirtualBox. I have this testbed up and operating with minimal applications with full Internet connectivity. I have installed OpenVPN 2.3.1 and have it running and can access the virtual server from a client. The server.conf is:
I have used an absolute minimum set of pf rules based on the discussion I found at Thread 44048.
My pf.conf is:
I can connect to the server via OpenVPN with no problem but I can not ping or get to Internet beyond that
Any suggestions would be appreciated.
Code:
port 1194
proto tcp
dev tun
ca /usr/local/etc/ssl-admin/active/ca.crt
cert /usr/local/etc/ssl-admin/active/server.crt
key /usr/local/etc/ssl-admin/active//server.key
dh /usr/local/etc/ssl-admin/dh2048.pem
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher BF-CBC # Blowfish (default)
comp-lzo
#max-clients 10
user nobody
group nobody
push "dhcp-option DNS 8.8.8.8"
persist-key
persist-tun
status /var/log/openvpn.log
verb 4
mute 10
I have used an absolute minimum set of pf rules based on the discussion I found at Thread 44048.
My pf.conf is:
Code:
vpn_net = "10.8.0.0/24"
ext_if = "em0"
# --- NAT rules -------------
nat on $ext_if from $vpn_net to any -> $ext_if
I can connect to the server via OpenVPN with no problem but I can not ping or get to Internet beyond that
Any suggestions would be appreciated.