Background
I have an OpenVPN server on my Debian VPS box.
The purpose is to
bypass firewalls (my paranoid ISP blocks TCP port 25)
enable safe connection via untrusted networks (mainly for portable machines, but you never know)
allow connection between peers (for remote SSH/VNC troubleshooting)
I have authenticated and configured two clients (so far), a Debian Squeeze laptop and an Ubuntu 12.04 desktop to connect to this VPN.
Problem
Connection to the VPN itself works OK from both clients. But the the Ubuntu box cannot reach outside of the VPN (not even using an IP address).
Both clients were set up using Network Manager, and only things I changed from default are that the tunnel uses TCP connection to port 110.
Any tips where to look next?
Data
server.conf:
port 110
proto tcp
dev tun
ca ca.crt
cert myvpn.crt
key myvpn.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
route after connecting the "bad" box (89.x.y.z
is my VPS):
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.8.0.5 0.0.0.0 UG 0 0 0 tun0
10.8.0.1 10.8.0.5 255.255.255.255 UGH 0 0 0 tun0
10.8.0.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
89.x.y.z 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
and the "good" box:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.8.0.13 0.0.0.0 UG 0 0 0 tun0
10.8.0.1 10.8.0.13 255.255.255.255 UGH 0 0 0 tun0
10.8.0.13 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
89.x.y.z 192.168.1.1 255.255.255.255 UGH 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
(At the time of testing, both are in the same local net.)
and the VPS:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
89.x.y.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 89.x.y.1 0.0.0.0 UG 0 0 0 eth0