openvpn connects but no internet access
From my client machine I can connect to the VPN but then I do not have any internet accesss.
I use the client.conf to connect to the vpn and followed steps 10 and 11 from this guide:
My friend who can connect to the VPN, has internet access, and pulls the IP from linode on whatismyipaddress.com. I am using almost the same distro as he is using ubuntu 12.04 and i am using xubuntu 12.04.
I asked in the linode IRC chat and I kept getting responses to check my routing and NAT forwarding. I think the problem might be client-side related since my friend is able to connect to it with his certs which are differnt than mine.
1 Reply
added:
iptables -A INPUT -j ACCEPT -s 10.8.0.0/24 -p esp
iptables -A INPUT -j ACCEPT -s 10.8.0.0/24 -p udp -m multiport –sports isakmp,10000
iptables -A INPUT -j ACCEPT -i tun+
iptables -A OUTPUT -j ACCEPT -d 10.8.0.0/24 -p esp
iptables -A OUTPUT -j ACCEPT -d 10.8.0.0/24 -p udp -m multiport --dports isakmp,10000
iptables -A OUTPUT -j ACCEPT -o tun+
to: /etc/firestarter/user-pre