Quote:
Originally Posted by efuenteso
Here is a link to review vpn connections like you are trying to establish. Maybe it would be just a routing problem related. follow the guide, have some fun ... play special attention to
echo 1 > /proc/sys/net/ipv4/ip_forward
sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
http://www.ventanazul.com/webzine/ar...buntu-and-hulu
Best Regards,
|
Everything on that site appears to be the same way I have, something I am overlooking though
My IPtables are not sticking..
[root@uk ~]# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
If I put it in
[root@uk ~]# /sbin/iptables -t nat -s 10.8.0.6/32 -A POSTROUTING -j SNAT --to 78.129.159.88
[root@uk ~]# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 10.8.0.6 anywhere to:78.129.159.88
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
But once I reboot it goes away.
Not my biggest concern at the moment
[root@uk ~]# cat /proc/sys/net/ipv4/ip_forward
1
ifconfig
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:849 (849.0 b) TX bytes:0 (0.0 b)
Quote:
Originally Posted by jefro
If you can ping www.somewhere.com then it is resolved. Do you mean that your browser can't connect through this end device?
|
Once the VPN connects I can get into the server of course but I can't get to anything on the internet. Says connecting, waiting on reply but times out. If I ping a site I get a IP response but request times out. If I tracert to anything other then the VPN server it just times out.
C:\Users\Ron>nslookup yahoo.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 208.67.222.222
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out