View Full Version : [xubuntu] openvpn connects but no internet access

August 7th, 2012, 06:52 AM
Hello, sorry if i have posted in the wrong area but this is where it said to post on the Xubuntu help and support site please move if inappropriate.

I have openVPN installed on my VPS server which is debian 6 through following the linode http://library.linode.com/networking/openvpn/debian-6-squeeze documentation. The whole guide was followed including the tunneling and dnsmasq part.
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: http://tipupdate.com/how-to-install-ope ... buntu-vps/
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 64bit.
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 with his certs which are different than the ones I am using.

August 9th, 2012, 06:36 AM
got it to work, thanks anyways..


iptables -A INPUT -j ACCEPT -s -p esp
iptables -A INPUT -j ACCEPT -s -p udp -m multiport --sports isakmp,10000
iptables -A INPUT -j ACCEPT -i tun+
iptables -A OUTPUT -j ACCEPT -d -p esp
iptables -A OUTPUT -j ACCEPT -d -p udp -m multiport --dports isakmp,10000
iptables -A OUTPUT -j ACCEPT -o tun+

to: /etc/firestarter/user-pre