connecttion manager recommendation

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

connecttion manager recommendation

Post by yacahuma »

Hello,

I need some help finding a product. At work , they are blocking many sites, for example gmail. I have a cellular network card, but so far I connect and disconnect to switch from one network to the other. Is there a product that allow me to have both networks on so I can tell firefox use my cellular network, and for all my database and local stuff use my wired network?

Thank you
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: connecttion manager recommendation

Post by VladSun »

I think destination based IP routing will help, though it will be a little bit complicated.
The idea is to set one of you connection gateways as the default gateway for you system, while the other is used to route packets with a specified destination IP address/network.
E.g.:

Code: Select all

vladsun@ubuntu:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0

Code: Select all

vladsun@ubuntu:~$ sudo route add -net 192.168.4.0/24 gw 192.168.10.1 dev eth1

Code: Select all

vladsun@ubuntu:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.4.0     192.168.10.1    255.255.255.0   UG    0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
This way connections to subnet 192.168.4.0/24 are routed via 192.168.10.1 on device eth1, while all of the rest destinations are routed through the default gateway - 192.168.1.1 on device wlan0.
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: connecttion manager recommendation

Post by yacahuma »

thank you , i will give it a try. I was hoping for an idiot proof windows app.
Post Reply