Problem with sharing internet

dehqan65 dehqan65 at gmail.com
Sat Jan 2 19:10:09 UTC 2010


In The Name Of God The compassionate merciful

hello;

                iptables -t nat -A POSTROUTING -d \! 192.168.3.0/24 -j SNAT
--to-source 10.0.151.13
 Above command has been used to share ppp0 internet from 192.168.3.1 to
192.168.3.2 but while pinging an address (4.2.2.2) on 192.168.3.2 it gives
errors like:
>From 192.168.3.2 icmp_seq=59 Destination Host Unreachable

 192.168.3.1 and 192.168.3.2 ping each other .
also echo 1 > /proc/sys/net/ipv4/ip_forward is done , and getway for
192.168.3.2 is 192.168.3.1
 (of course 192.168.3.1 is FR)

Regards dehqan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100102/95e9df15/attachment.html>


More information about the ubuntu-users mailing list