by adrien » Nov 05 05 9:27 am
Hi
Normally it's not good to use default gateway to access an intranet, since the intranet doesn't provide a gateway to everywhere (i.e. it is only for an internal subnet rather than the whole internet).
So we recommend only using a default gateway if that is a connection to the Internet, and if you have other subnets, use specific routes for those.
On the WinGate machine you would have a default gateway in the external adapter connected to the internet, and none on your internal adapter.
then add routes for your other subnets
say your WinGate machine has IP 192.168.0.1, and you have a router on your LAN on 192.168.0.254, which provides access to your Intranet, which is 192.168.1.X, then to add the route, the command would be
route add -p 192.168.1.0 MASK 255.255.255.0 192.168.0.254
regards
Adrien