Routing browser traffic through VPN
Posted: Thu Dec 08, 2011 11:54 pm
Hi, I'm completely new to this so bear with me.
I've set up OpenVPN following the HOWTO guide and can ping machine on the LAN. The server is running on my desktop which has a connection to a wireless router.
My client connection is a laptop which is connecting to the internet through my phone using a tethering app.
However, after following the section on running all client traffic through the VPN I can no longer connect to any web pages on the client machine (pinging the LAN still works).
Here is my server config:
and my client one...
Is there something obvious I have missed here?
Thanks.
I've set up OpenVPN following the HOWTO guide and can ping machine on the LAN. The server is running on my desktop which has a connection to a wireless router.
My client connection is a laptop which is connecting to the internet through my phone using a tethering app.
However, after following the section on running all client traffic through the VPN I can no longer connect to any web pages on the client machine (pinging the LAN still works).
Here is my server config:
Code: Select all
port 5656
proto tcp
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
client
dev tun
proto tcp
remote my.ip.address 5656
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb3
Thanks.