Hi,
I am trying to configure a VPN server at home to allow all traffic (including internet) to use the server internet connection. The server (192.168.1.2) is connected to the internet at home through a router (192.168.1.1). The router is also the DNS server. Currently I have the VPN operational. The client is getting a 192.168.1.200 address and can ping all the machines on the 192.168.1.x network, however internet traffic is not working, i.e i cannot ping google and tracert does not work. DNS appears to be working ok.
I am using windows server 2008 r2 as the server and client. I think it might be a routing problem, but in my mind, the client machine is just like being on the 192.168.1.x network so it should just use the 192.168.1.1 as default gateway and happy days? Or maybe not...hopefully someone can help 🙂
Please see my config below:
port 443
proto tcp
dev tap
dev-node tap-bridge
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.2 255.255.255.0 192.168.1.200 192.168.1.254
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 192.168.1.1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3