[strongSwan] Help: Issue with routing internet traffic through tunnel

assiduus at poczta.internetdsl.pl assiduus at poczta.internetdsl.pl
Tue May 7 16:31:09 CEST 2019


Try adding this iptables rule on Site B router: 

sudo /sbin/iptables --table nat --append POSTROUTING --source
10.1.0.0/24 --jump MASQUERADE 

and make sure that forwarding is enabled on Site B router: 

cat /proc/sys/net/ipv4/ip_forward should give you: 1 

Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20190507/beb6fe83/attachment.html>


More information about the Users mailing list