[Openswan Users] problem when openswan+nat,the problem is no suitable connection for peer '192.168.2.2'

=?gb2312?B?zMbd7cDZ?= a1406 at 163.com
Thu Apr 21 10:55:32 CEST 2005


when i used computer A(192.168.1.2),computer B(192.168.2.2),and a nat(192.168.1.1  192.168.2.1)to do the nat vpn,i failed and the log showed  no suitable connection for peer '192.168.2.2'

the ipsec.conf in computer A is like this
nat_traversal=yes
conn test
   left=192.168.1.2
   right=192.168.1.1
   authby=secrets
   auto=add

the ipsec.con in computer B is like this
nat_traversl=yes
conn test
   left=192.168.1.2
   right=192.168.2.2
   rightnexthop=192.168.2.1
   authby=secrets
   auto=add

the ipsec.secrets is like this
192.168.1.2 192.168.1.1 : PSK "123456789"

i do not konw how to solve this problem ,can you help me.
thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20050421/fc84df13/attachment.htm


More information about the Users mailing list