mirror of
https://github.com/pirate/wireguard-docs.git
synced 2025-10-03 06:16:17 +00:00
Merge pull request #71 from ss-o/patch-1
Missing proxy ARP value (1 – enabled, 0 – disabled)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user