[Openswan Users] IPV4 tunnel : traffic selection based on sourceIP

Willie Gillespie wgillespie+openswan at es2eng.com
Thu Oct 6 15:23:24 EDT 2011


On 10/6/2011 5:26 AM, SaRaVanAn wrote:
>
> Hi,
>    Please find my topology below. I want to encrypt only the traffic
> coming with source IP address as 10.1.1.1 and I don't want to encrypt
> the traffic coming from 20.1.1.1.
>
> *Is there any option/configuration in openswan to select traffic based
> on source IP address to go through tunnel?*

Probably look at leftsubnet=10.1.1.1/32 or leftsubnet=10.1.1.1/nn 
depending on your needs.


More information about the Users mailing list