10

I am connecting to vpnc which breaks my internet connection. I understand, that this is because all my traffic is forwarding to vpnc now, so the problem is about routing.

So, how can I manage my routes so only one port (1433) will use vpnc and all other connection won't pass traffic through vpn

Amey Jah
  • 2,735
fl00r
  • 1,383

2 Answers2

10

I think I have a solution. Please follow the procedure as mentioned below;

  1. Open Network connection and click on VPN tab.
  2. Click on VPN to be configured.
  3. Now click on Edit
  4. Go to IPV4/6 Settings
  5. Click on Routes button
  6. Now check the box in front of the text "Use the connections only for the resources on its network" (This will solve the problem of breakage of your internet connection)
  7. Add a route using add button. (I am not expert in adding routes, so wont be able to help you out here. But this is the way, you would be able to add the routes).
Amey Jah
  • 2,735
-2

infact that with my vpn connection (ubuntu 10.04) i still could not connect to internet though i have already set "Use the connections only for the resources on its network" and "ignore auto obtain route...". This because network manager vpn alway add route 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 when it connect. So i need to change default root again with add default gateway command: sudo route add default gw 192.168.2.1 dev eth0 192.168.2.1 --> is gateway which i connect to internet. And it's fine!

tuepd
  • 1