Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network.

How does a script look like, that sends all traffic to 10.10.3.1 or exchange.server.de through the VPN tunnel and the rest of the traffic uses the default route that existed before the VPN was established?

Thanks for your help.

share|improve this question

1 Answer

You would have to set up split tunneling on the concentrator side of the connection This link will give you a good idea of what I'm talking about. If you do not have access to the VPN concentrator, then you will not be able to change what does and what doesnt go through the tunnel

share|improve this answer
Hmm, I mean I can change it in the way, that nothing goes through the VPN tunnel with deleting the default route. But when I add the subnet of the network I want to route through the VPN to my routes, the routing dosen't work... So I think it must be somehow work. At least it works fine with L2PT... – Dominik Jan 17 at 17:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.