connection sharing
I want to share an internet connection between a PC running FC and other having WInXp the PC with FC has a usb cable modem connection
Both PC's are connected to each other through LAN Cards I had installed the dhcp server package on FC and my config file is Code:
the connection properties in windows show the correct Ip address and mac (as assigned in the file ) but still I can't broswe in windows ? the browser tries for a while after which I get the page cannot be displayed error I am also posting the output of ifconfig Code:
[root@localhost root]# ifconfig -a Please help me I really do need to get this setup to work |
If you haven't done so, you'll need to enable packet forwarding. This is normally done through the firewall script, but the actual enabling of forwarding is
echo 1 > /proc/sys/net/ipv4/ip_forward I really hope I got that right since I'm on a Windows box right now. An example firewall that will do this and more is at iptablesrocks.org |
DHCP doesnt share connection, it only gives your client an ip adress.
You'll need a NAT firewall rule to then make the link between them and the internet. Search the web a bit about iptables and "NAT" or "MASQUERADE" |
All times are GMT -5. The time now is 09:13 AM. |