[Openswan Users] Openswan + IPTables SNAT both side traffic, is possible?

Claudio Prono claudio.prono at atpss.net
Wed Mar 2 10:08:06 EST 2011

Hello all,

I use OpenSwan with a special IPTables SNAT rule because to the other
side they have the same subnet IP addresses. So i have inserted a rule
like this:

iptables -t nat -A POSTROUTING -s -d -j SNAT

With this rule the client present itself as and all works
without problems, when the client tryies to access the IP
But it doesn't work if is the trying to contact the I have tried some different rules, to do a reverse nat for
the traffic from to natted to, but
without any success. Any hint about it?

If you need more configuration about OpenSwan, contact me.


Claudio Prono.

Claudio Prono                         OPST
System Developer               
                                      Gsm: +39-349-54.33.258
@PSS Srl                              Tel: +39-011-32.72.100
Via San Bernardino, 17                Fax: +39-011-32.46.497
10141 Torino - ITALY                  http://atpss.net/disclaimer
PGP Key - http://keys.atpss.net/c_prono.asc

More information about the Users mailing list