Re: Problem configuring masquerading Gateway on RedHat 9.0...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,

On Fri, 2004-08-06 at 12:14, Rajesh Pethe wrote:
> 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
-- 
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)





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux