Same here... Except I never could get to the Internet.
I can connect to my VPN server (ping server <-> client OK) and route all traffic from my client to my server but then I cannot access the Internet in any way.
I am sure all traffic is sent to the server because I cannot access any page or ping anything from the point I connect to my server, and I am sure the packets sent by my client get to my server because here's the output of
iptables -t nat -L -n -v on the server :
Chain PREROUTING (policy ACCEPT 6 packets, 454 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 2 packets, 240 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 1 packets, 60 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 1 packets, 60 bytes)
pkts bytes target prot opt in out source destination
4 214 MASQUERADE all -- * eth0 10.42.24.0/24 0.0.0.0/0
I have no firewall set up and I have ip forwarding enabled (/etc/rc.d/ip_forward started), so i don't see where the problem could be...
Also it is worth mentioning that the
-j SNAT --to-source x.x.x.x option did not work at all (packets aren't even logged in the iptables rule).
(Hum... I'm posting this here because I thought the issue was pretty much the same so maybe the solution could be the same as well? And also because I wanted to show support to koles142 - yay buddy, we're in this together o/ - but maybe I should have spawn a new topic?)