[rhn-users] ip_forward problem
diego soares
diegosoares at yahoo.com.br
Wed Sep 8 15:56:13 UTC 2004
debtor for your return. Already he had attemped this
syntax, exactly problem.
With ip_forward
[root at serv1 confs]# traceroute www.aol.com
traceroute to www.gwww.aol.com (205.188.145.214), 30
hops max, 38 byte packets
1 SpeedTouch.lan (10.0.0.138) 1.612 ms 1.484 ms
1.222 ms
2 * * *
3 * * *
Without
[root at serv1 confs]# traceroute www.aol.com
traceroute to www.gwww.aol.com (205.188.145.214), 30
hops max, 38 byte packets
1 SpeedTouch.lan (10.0.0.138) 1.817 ms 1.491 ms
1.063 ms
2 200.180.143.226 (200.180.143.226) 16.497 ms
9.922 ms 10.314 ms
3 201.10.254.137 (201.10.254.137) 10.590 ms 9.431
ms 9.326 ms
4 BrT-G6-0-0-paeborder.brasiltelecom.net.br
(201.10.225.30) 17.107 ms 10.547 ms 10.789 ms
5 so-6-0.hsa2.Miami1.Level3.net (64.156.8.13)
166.305 ms 165.802 ms 167.763 ms
6 ge-6-0-1.mp2.Miami1.Level3.net (64.159.0.21)
165.784 ms 167.918 ms 169.558 ms
--- Strickler Carl <cstrickler at iitri.org> escreveu:
> The syntax of your IPTables statement looks a little
> off. You may want to
> try
>
> iptables -t nat -A POSTROUTING -o eth0 -j SNAT
> --to-source 10.0.0.140
>
> You will most definitely need to echo 1 >
> /proc/sys/net/ipv4/ip_forward
>
> - Carl
>
>
>
> -----Original Message-----
> From: rhn-users-bounces at redhat.com
> [mailto:rhn-users-bounces at redhat.com] On
> Behalf Of diego soares
> Sent: Wednesday, September 08, 2004 10:28 AM
> To: rhn-users at redhat.com
> Subject: [rhn-users] ip_forward problem
>
>
> Hello to all.
> I am with a well strange problem and I do not know
> more what to make.
>
> I have an ADSL sharing the Internet for the internal
> net. The modem is in eth0 with IP 10.0.0.140 the
> net
> is in eth1 with IP 192.168.0.1
>
> Has squid making proxy/cache, everything functioning
> perfectly. But at the active moment that I
> ip_forward(echo 1 >/proc/sys/net/ipv4/ip_forward)
> constraint everything!
> ping for out is not, traceroute done of the proper
> server and of you scheme them of the net stop in the
> IP of modem(10.0.0.138)
>
> If I to disactivate
> (echo 0 >/proc/sys/net/ipv4/ip_forward)
> return everything to function Have only this rule in
> iptables
> iptables -t nat -A POSTROUTING -s 0.0.0.0 -o eth0 -j
> SNAT --to 10.0.0.140
>
> somebody can help me?
>
>
>
>
>
>
_______________________________________________________
> Yahoo! Acesso Grátis - navegue de graça com conexão
> de qualidade!
> http://br.acesso.yahoo.com/
>
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!
http://br.acesso.yahoo.com/
More information about the rhn-users
mailing list