- Posts: 1390
- Thank you received: 0
Multiple Connections
17 years 6 months ago #22105
by Smurf
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
Replied by Smurf on topic Re: Multiple Connections
Thats correct, you need to enable routing in RRAS.
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
17 years 6 months ago #22114
by Alans
always Face your Fears...
Replied by Alans on topic Re: Multiple Connections
hi every one,
thanks for your help.
now i use [code:1]netstat -n[/code:1] during using internet
so i can see on which interface it connect to internet.
and about [code:1]route print[/code:1] there is the
default gateway at the end of the list, can i change
this default gateway or no? the system choose one of
the connections (the better one) but i don't want it.
i have 2 connections (different IPs), nic1 to access internet
and nic2 to access LAN. If i want use internet how i can
route only internet packets to nic1? and how i can make sure
that my LAN packets not directed to nic1?
thanks for your help.
now i use [code:1]netstat -n[/code:1] during using internet
so i can see on which interface it connect to internet.
and about [code:1]route print[/code:1] there is the
default gateway at the end of the list, can i change
this default gateway or no? the system choose one of
the connections (the better one) but i don't want it.
i have 2 connections (different IPs), nic1 to access internet
and nic2 to access LAN. If i want use internet how i can
route only internet packets to nic1? and how i can make sure
that my LAN packets not directed to nic1?
always Face your Fears...
17 years 6 months ago #22115
by TheBishop
Replied by TheBishop on topic Re: Multiple Connections
The default gateway is the 'route of last resort', i.e the place Windows will forward the traffic to when it has no other routing statement that matches it. So what you need is a set of more specific routes that send the traffic the way you want it to go, then a default route that just points to the internet to make sure that everything else still works
17 years 6 months ago #22125
by toddwoo
Replied by toddwoo on topic Re: Multiple Connections
I believe you just need to add a route out to the lan...
like
route add 10.0.0.0 mask 255.255.0.0 10.0.0.1
this assumes your lan is 10.0.0.0 /16
any time you try and access something like 10.0.0.2 you go out to that network and not out to the internet.
like
route add 10.0.0.0 mask 255.255.0.0 10.0.0.1
this assumes your lan is 10.0.0.0 /16
any time you try and access something like 10.0.0.2 you go out to that network and not out to the internet.
Time to create page: 0.162 seconds