[rhn-users] ip_forward problem

diego soares diegosoares at yahoo.com.br
Wed Sep 8 15:27:49 UTC 2004


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/





More information about the rhn-users mailing list