[Openswan Users] ipsec and iptables

Paul Wouters paul at xelerance.com
Thu Jan 26 04:25:11 CET 2006

On Wed, 25 Jan 2006, Ruben CL wrote:

> Hi all!I would like to use both ipsec and iptables for my vpn. I would like the traffic between my networks were encryp
> ted only for mail and web. All the other traffic it would be plaintext.
> Can anyone help me? Thanks

It is easier and better to encrypt everything.
if you really dont want that, you can use leftprotoport=5/25 for email
and leftprotoport=5/80 for web. (and the same for rightprotoport.

But again, you should encrpt everything


"Happiness is never grand"

	--- Mustapha Mond, World Controller (Brave New World)

More information about the Users mailing list