Sign up ×
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 (A) want to connect to my virtual XEN-server (B) with Ubuntu OS via vpn. This server (B) should than connect to another server (C). The traffic should be routed from A to C. C is using CISCO VPN. But how do I do that? Is there a howto that I can read? Thanks for y'all help

share|improve this question

1 Answer 1

up vote 0 down vote accepted

This can be done by routing the second VPN over the first. Lets say we have a VPN with the gw and a second VPN with the server address than we have to set a route for the second one with route -n add (Do not set a setting that sends all traffic over the first VPN!). Now we can tell the OS with the routing table which VPN to use. Let us we want to connect over the first VPN and over the second. We use route -n add and route -n add etc.

share|improve this answer

Your Answer


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.