Problem configuring masquerading Gateway on RedHat 9.0...
Dear Sirs,
As mentioned in the 'NAT-HOWTO' I've done the following to configure my Linux box as masquerading gateway for internal network :
#iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE and
#echo 1 > /proc/sys/net/ipv4/ip_forward
The problem is I can ping or telnet a remote host from an internal network but browsers say 'unknown host' when I try to load a remote site.
Please help me with this problem.
Regards
Rajesh
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
Rajesh..
The commands u r following is correct.
From internal client machine test the following things.
1) ping www.yahoo.com
if it tells unknown host then u need to put the correct primary and secondary dns in the client machine.
2) Secondly check your /etc/resolv.conf wheather it has correct primary and secondary dns server.
If you can ping from client www.yahoo.com then ....
1) are u using squid or something ????
if u r using squid something is wrong in squid.conf
Regards,
Quoted 25 lines · Rajesh Pethe
Dear Sirs,
As mentioned in the 'NAT-HOWTO' I've done the following to configure my Linux box as masquerading gateway for internal network :
#iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE and
#echo 1 >/proc/sys/net/ipv4/ip_forwardThe problem is I can ping or telnet a remote host from an internal network but browsers say 'unknown host' when I try to load a remote site.
Please help me with this problem.
Regards
Rajesh_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
Signature · 7 lines
Joel N.Solanki Network Administrator Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http://www.packetraptor.com/ http://www.d2visp.com/ Gujarat (India)