Hello,<br><br>As per the book "building-and-integrating-virtual-private-networks-with-openswan" -<br><br>"For roadwarriors to work from public IPs as well as from behind NAT, you must specify<br>rightsubnet=vhost:%no,%priv"<br>
<br>However, the following configuration works (I can ping the protected networks) in both cases (with NAT, without NAT) even if I don't specify %no.<br><br>left:<br>conn rw_psk<br> leftsubnet=<a href="http://192.168.2.0/24">192.168.2.0/24</a><br>
left=<a href="http://172.16.2.2">172.16.2.2</a><br> leftnexthop=<a href="http://172.16.2.1">172.16.2.1</a><br> right=%any<br> rightsubnet="vhost:%v4:<a href="http://0.0.0.0/0">0.0.0.0/0</a>"<br>
x_rightdynamic=yes<br> authby=secret<br> compress=yes<br> failureshunt=drop<br> pfs=yes<br> type=tunnel<br>
<br>right:<br>conn rw_psk<br> left=<a href="http://192.168.0.3">192.168.0.3</a><br> right=<a href="http://172.16.2.2">172.16.2.2</a><br> authby=secret<br> rightsubnet="<a href="http://192.168.2.0/24">192.168.2.0/24</a>"<br>
<br>Am I misunderstanding the parameter %no?<br><br>Thanks for your time.<br><br>-hiren<br>