[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strongswan-users
Subject:    Re: [strongSwan] Help: Issue with routing internet traffic through tunnel
From:       assiduus () poczta ! internetdsl ! pl
Date:       2019-05-07 14:31:07
Message-ID: 81488effb765d453a61b9cca7381a4a9 () poczta ! internetdsl ! pl
[Download RAW message or body]

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.
[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" \
/></head><body style='font-size: 10pt; font-family: Arial,Helvetica,sans-serif'> \
<p>Try adding this iptables rule on Site B router:</p> <p>sudo /sbin/iptables --table \
nat --append POSTROUTING --source 10.1.0.0/24 --jump MASQUERADE</p> <p>and make sure \
that forwarding is enabled on Site B router:</p> <p>cat /proc/sys/net/ipv4/ip_forward \
should give you: 1</p> <p>Cheers.</p>
</body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic