[Openswan Users] Gateway to gateway without router in one endpoint?

Alonso Manilla alonso.manilla at gmail.com
Fri Jun 7 22:07:34 UTC 2013

It's possible to create virtual nics.

Use #:
ifconfig eth0:1 netmask

to make it permanent change the /etc/network/interfaces file.

then you need to create a route to send all packets from vpn to the new ip
address, also need to check your iptables.

Good luck.

Alonso Manilla

2013/6/7 Jose M <soloninguno at hotmail.com>

> I need to create an ipsec vpn between an internal network behind a cisco
> router and an ubuntu server in the outside that is directly connected to
> the web (no router here).
> Right now I've test openswan to create a client to gateway vpn an works as
> expected. Unforunately with this configuration I don't have two way
> traffic, the client sees the internal network, but the network can't see
> the client.
> My knowledge of networks isn't the best, so I need to ask, is it possible
> to create some kind of virtual nics in ubuntu client server to simulate a
> gateway and an internal network (with only one machine) in this endpoint,
> so the machines in the internal network can see this client?
> Thanks in advance!
> _______________________________________________
> Users at lists.openswan.org
> https://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20130607/fdd84112/attachment.html>

More information about the Users mailing list