LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Internet Connection Sharing 2 FC1 machines (https://www.linuxquestions.org/questions/fedora-35/internet-connection-sharing-2-fc1-machines-177965/)

explorer 05-04-2004 09:47 PM

Internet Connection Sharing 2 FC1 machines
 
I have 2 FedoraCore-1 machines networked together. I would like to share the internet connection on fc2 with fc1.....

fc2:
eth0
ip address 169.254.55.236
sm 255.255.255.0
dial up internet conn. on /dev/modem

fc1:
eth0
ip address 169.254.55.235
sm 255.255.255.0
no modem installed

where do I start ?

nonperson 05-05-2004 02:09 AM

It's real simple. Just make sure you have Iptables or Ipchains ( prferably tables ) compiled into your kernel or loaded as a module, than obtain the Iptables or Ipchains binary ( probably included with your Fedora) and setup a NAT / IP_MASQUERADE script. There are several tutorials and HOWTOs on how to do this, and if it takes a while sinking in there are plenty of example scripts out there whcih will work right away with almost any setup, try googleing for 'iptables NAT example'.

Have fun.


All times are GMT -5. The time now is 11:41 AM.