[Openswan Users] Setting up an OpenSwan server to be used as a gateway

Muhammad El-Sergani msergani at gmail.com
Wed Sep 5 17:04:47 EDT 2012


Hello Erich,

I'm not sure I understand. Could you elaborate more please?

Sent from my iPhone

On Sep 5, 2012, at 11:01 PM, Erich Titl <erich.titl at think.ch> wrote:

> Muhammad
>
> on 04.09.2012 20:42, Muhammad El-Sergani wrote:
>> Dear list,
>>
> ....
>>
>> Since I come from an OpenVPN background, I'd like to force users to send
>> traffic to IP X.X.X.X (for example) only through the VPN tunnel, and the
>> rest through the device's default gateway. Is there someway to configure
>> OpenSwan to do so? I have any idea to redirect traffic via iptables by
>> sending back an ICMP message, but not sure of the idea, this'll cause a
>> lot of network traffic.
>
> Maybe L2TP will interfere, but....
>
> Why don't you just define connections for your VoIP hosts, once the
> IPSec tunnel comes up the routes to those VoIP hosts will be added and
> traffic will go through the tunnel.
>
> cheers
>
> Erich
>
>
>
> _______________________________________________
> 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


More information about the Users mailing list