Linux as a router between Windows clients
by Jason.nix from LinuxQuestions.org on (#6F1QE)
Hello,
I want to use my Linux Box as a router between the Windows machines:
Code:Windows Client-1 ---> Linux Box ---> Windows Client-2My Linux Box has three NICs:
Code:# ifconfig
CLIENT-1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:fee5:267c prefixlen 64 scopeid 0x20<link>
ether 08:00:27:e5:26:7c txqueuelen 1000 (Ethernet)
RX packets 116 bytes 16859 (16.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24 bytes 4768 (4.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
NAT: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00:27ff:fe7b:8f51 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:7b:8f:51 txqueuelen 1000 (Ethernet)
RX packets 531 bytes 114732 (112.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 481 bytes 120876 (118.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
CLIENT-2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:febc:c5a7 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:bc:c5:a7 txqueuelen 1000 (Ethernet)
RX packets 114 bytes 16175 (15.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 5452 (5.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0As you see, my Linux Box has three NICs. The network card named CLIENT-1 must be connected to Windows Client-1 and network card named CLIENT-2 must be connected to Windows Client-2.
The tutorials I found on the internet were for situations where all systems are Linux and commands were executed both on the router and on the clients:
https://www.tecmint.com/setup-linux-as-router/
But, my clients are Windows.
I would be grateful if someone could show me a tutorial that is for Windows clients.
Thank you.
I want to use my Linux Box as a router between the Windows machines:
Code:Windows Client-1 ---> Linux Box ---> Windows Client-2My Linux Box has three NICs:
Code:# ifconfig
CLIENT-1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:fee5:267c prefixlen 64 scopeid 0x20<link>
ether 08:00:27:e5:26:7c txqueuelen 1000 (Ethernet)
RX packets 116 bytes 16859 (16.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24 bytes 4768 (4.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
NAT: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00:27ff:fe7b:8f51 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:7b:8f:51 txqueuelen 1000 (Ethernet)
RX packets 531 bytes 114732 (112.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 481 bytes 120876 (118.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
CLIENT-2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00:27ff:febc:c5a7 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:bc:c5:a7 txqueuelen 1000 (Ethernet)
RX packets 114 bytes 16175 (15.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 5452 (5.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0As you see, my Linux Box has three NICs. The network card named CLIENT-1 must be connected to Windows Client-1 and network card named CLIENT-2 must be connected to Windows Client-2.
The tutorials I found on the internet were for situations where all systems are Linux and commands were executed both on the router and on the clients:
https://www.tecmint.com/setup-linux-as-router/
But, my clients are Windows.
I would be grateful if someone could show me a tutorial that is for Windows clients.
Thank you.