[strongSwan] about net2net between internet

Ruiming Tu rbn_tu at yahoo.com
Wed Jun 8 12:01:27 CEST 2016


Hi, guys,
I found with strongswan it seems I can't make net2net in a same local net.I have a EC2 server with a public IP x.x.x.x, and I also have a local server with  public IP y.y.y.y. 
so the typo is like :
AWS EC2  <------------> office gateway <-------->local server<----------->local server vmeth0:172.0.0.1           public: y.y.y.1                  eth0:y.y.y.y                       192.168.0.10
public: x.x.x.x                                                           br0: 192.168.0.1
I want to have all trafic go through EC2's route, but I don't find a way to do this. Because strongswan can't generate a virtual netcard. and for virtual IP is always for one side. I cant configure route table via virtaul IP.so what should I do to make trafic from y.y.y.y go to x.x.x.x first?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20160608/9db15c28/attachment.html>


More information about the Users mailing list