[strongSwan] Route VPN server traffic via IPIP tun0

Andreas Muerdter am at tbits.net
Tue May 8 08:18:02 CEST 2012


Hi Igor,

I think you need a route like

 route add -net VPNNET netmask VPNMASK gw 10.1.1.1

Regards
Andreas

Igor schrieb am 07.05.2012 um 20:35 Uhr

> I have a tun0 interface by IPIP tunnel like:
 >
 > tun0      Link encap:IPIP Tunnel  HWaddr
 >           inet addr:10.1.1.2  P-t-P:10.1.1.1  Mask:255.255.255.255
 >
 > How can I route all VPN traffic through the
 > tun0 interface on the
 > server instead of default route, tried leftnexthop=10.1.1.1 but it
 > doesn't work.
 >
 > Thanks!
 >
 > Bests,
 > -Igor
 >
 > _______________________________________________
 > Users mailing list
 >
 > Users at lists.strongswan.org
 > https://lists.strongswan.org/mailman/listinfo/users
 >
 > ---
 > This message has been scanned for viruses and
 > dangerous content by MailScanner, and is
 > believed to be clean.
 >
 >




  --
--
Mit freundlichen Grüßen
Best regards

Andreas Mürdter
IT Systemmanager

TBits.net GmbH, Seeweg 6, 73553 Alfdorf, Germany
phone: +49 (0)7172 18391-37, fax: +49 (0)7172 18391-99
Geschäftsführer: Thomas Börnert, Amtsgericht Stuttgart HRB 281836
USt.-IdNr. DE 207 740 994






More information about the Users mailing list