[strongSwan] Setup with virtual subnet

Noel Kuntze noel at familie-kuntze.de
Fri Feb 19 20:16:20 CET 2016


Hello Rodrigo,

>
> The scenario is: I have 3 machines and I want to create a tunneled connection among them but using a private network. Those virtual machines are from different vendors. I can connect them, but I don't know how to add this virtual network. Any ideas or suggestions?
>
> Example:
> | 213.XXX.XXX.XXX | === | 5.XXX.XXX.XXX | === | 88.XXX.XXX.XXX | -> Real IP
>         sun                  moon                    earth
>   192.168.200.2           192.168.200.1        192.168.200.3     -> Virtual IP

Add those virtual IPs with scope global to a dummy interface on the respective virtual machine (or on loopback, if your Distro supports configuring tha).
Then just set left- and rightsubnet accordingly and configure site-to-site tunnels with your virtual IPs.

-- 

Mit freundlichen Grüßen/Kind Regards,
Noel Kuntze

GPG Key ID: 0x63EC6658
Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20160219/06bb6642/attachment.pgp>


More information about the Users mailing list