Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have setup FC4 on a Pentium 3 667MHz with 128MB RAM and a 6.4GB HDD
The setup is working fine,
I have connected my ADSL to the machine and it connects to the internet. I have also installed DHCPD which is assigning IP Addresses without fault.
I have a basic squid configuration which is also working.
I can access the Internet from any PC on the LAN and the Squid Server but i cannot Ping outside dns names such as www.google.com also i cannot send and recieve e-mail from OE
sounds like you don't have dns on the clients then... do they have them listed in ipconfig /all on xp? are you firewalling their dns requests to the outside world? what IS your dns setup in general?
ok so what if you do a traceroute to the dns server ip address? it's pretty common to use a central server on your lan as the dns server for your clients locally.
I think it will never workout... if you want that you should be able to ping outside servers from your lan...then instead of using SQUID proxy you will have to enable routing on your machine.
SQUID will forward web requests so your internet will work, but it won;t forwarde ICMP packets so ping won;t work...
Try this in the server. Assuming eth1 is connected to local LAN and eth0 is connected to the internet.
Bash:> echo 1 /proc/sys/net/ipv4/ip_forward
Bash:> iptales -t nat -A POSTROUTING -i eth1 -o eth0 -j MASQUERADE
Try this in the server. Assuming eth1 is connected to local LAN and eth0 is connected to the internet.
Bash:> echo 1 /proc/sys/net/ipv4/ip_forward
Bash:> iptales -t nat -A POSTROUTING -i eth1 -o eth0 -j MASQUERADE
Chaooooooooooooooo...
Manjunath
Hi I tried your advice the command generated this error
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.