1
is it possible (Ubuntu and Windows) to create the following rules:
If target="192.168.*" use eth0
If target="*" use eht1 // default, the rest that doesn't match another rule
1
is it possible (Ubuntu and Windows) to create the following rules:
If target="192.168.*" use eth0
If target="*" use eht1 // default, the rest that doesn't match another rule
0
If target="192.168.*" use eth0
Read up on subnetting and the route command. It is designed for this. Specifically, use the route add command.
If target="*" use eht1 // default, the rest that doesn't match another rule
That is done by putting the default gateway via eth1.
This is basic TCP/IP networking, and is the same on both windows and GNU/Linux.
For ubuntu see here: https://help.ubuntu.com/12.04/serverguide/firewall.html#ip-masquerading
– 에이바 – 2012-10-26T16:06:50.263