Linux as a router
by Jason.nix from LinuxQuestions.org on (#6GJJC)
Hello,
I have three PCs with the following information:
Code:Windows with one NIC (192.168.1.2)
Linux with two NICs
Windows with one NIC (172.20.1.2)I want to connect two Windows OS through Linux box. I have two questions:
1- What IP addresses should I set on Linux NICs?
2- Please guide me how to write iptables rules to connect these two systems.
Thank you.
I have three PCs with the following information:
Code:Windows with one NIC (192.168.1.2)
Linux with two NICs
Windows with one NIC (172.20.1.2)I want to connect two Windows OS through Linux box. I have two questions:
1- What IP addresses should I set on Linux NICs?
2- Please guide me how to write iptables rules to connect these two systems.
Thank you.