Skip to content

Commit

Permalink
Merge pull request pirate#71 from ss-o/patch-1
Browse files Browse the repository at this point in the history
Missing proxy ARP value (1 – enabled, 0 – disabled)
  • Loading branch information
pirate authored Mar 27, 2021
2 parents 2a20e31 + e0b8b44 commit 57752d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-simple-server-to-server/server1/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ apt install wireguard

# to enable kernel relaying/forwarding ability on bounce servers
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
echo "net.ipv4.conf.all.proxy_arp" >> /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
echo "net.ipv4.conf.all.proxy_arp = 1" >> /etc/sysctl.conf
sysctl -p /etc/sysctl.conf

# to add iptables forwarding rules on bounce servers
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Expand Down

0 comments on commit 57752d2

Please sign in to comment.