[Swan] Route network packets from private subnet via IPSec tunnel reaching to the other end.

Kaushal Shriyan kaushalshriyan at gmail.com
Sat Jan 20 18:15:36 UTC 2018


Hi,

I have setup libreswan vpn tunnel using IPSec. Details of the setup as
attached in the screenshot

tunnel1 -> 34.211.127.169/10.0.1.80
tomcat1 -> 10.0.0.115

conn application-backend
        type=tunnel
authby=secret
left=%defaultroute
leftid=34.211.127.169
        leftnexthop=%defaultroute
leftsubnet=34.211.127.169/32
right=146.184.10.5
rightsubnet=146.184.15.100/32
        ike=aes128-sha1;modp1024
        phase2alg=aes128-sha1;modp1024
        pfs=yes
        auto=start

I have a question regarding traffic initiated from tomcat1--> tunnel1--->
146.184.10.5 -> 146.184.15.100/32 (Encryption Domain IP). How do i route
network packets from tomcat1 server (Private IP :- 10.0.0.115/ No public
IP) reaching to 146.184.15.100 via libreswan IPSec tunnel1 (34.211.127.169
Public IP / 10.0.1.80 Private IP).

Any help will be highly appreciable.

Thanks in Advance.

Regards,

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20180120/70d35ea4/attachment.html>


More information about the Swan mailing list