Cannot Access Internet from Windows PC over Linux Network
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.
Cannot Access Internet from Windows PC over Linux Network
I have installed Fedora 8 on an old PC to use as a home network and I am having trouble getting a Windows PC running XP to get through to the internet, but I am able to access the internet from the Linux box with no issues. I can ping the gateway on eth0 from the Linux box, but I can't ping it from the windows PC. I am able to ping the IP address for eth0 from the Windows PC. My internet gateway is a modem/router from Hughes net. I also have a Netgear router between the Linux box and the Windows PC, but there doesn't appear to be any issues because I can ping both NICs from the Windows PC. I have pasted my Linux NIC config below. Any help would be appreciated.
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
Is your linux machine acting as a gateway for windows machine? If yes you might have squid handy. If you do not want squid you will still need iptables to forward the packets.
By turning off the iptables though, aren't you exposing the network to easy intrusion? I'm not sure I want to go that route....
I tried messing with masquerading last night, but I'm not sure if I am doing it right. I am using the Fedora GUI and everytime I try masquerading eth0, I get a message from SE Linux stating that it wouldn't let the change occur. I switched SE to permissive mode, and I think it went through, but I am still not able to get any of the clients access to the internet. Any suggestions would be appreciated. I am getting very frustrated...........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.