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.

On my Linux box, I have a tun0 interface by IPIP tunnel like:

tun0      Link encap:IPIP Tunnel  HWaddr   
          inet addr:  P-t-P:  Mask:

and I running an IPsec VPN server (ipsec-tools) on this box. How can I route all VPN traffic through the tun0 interface on the server (like Openswan's leftnexthop )?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.