|
|
@ -7,8 +7,8 @@ apt install wireguard
|
|
|
|
|
|
|
|
|
|
|
|
# to enable kernel relaying/forwarding ability on bounce servers
|
|
|
|
# to enable kernel relaying/forwarding ability on bounce servers
|
|
|
|
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
|
|
|
|
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
|
|
|
|
echo "net.ipv4.conf.all.proxy_arp" >> /etc/sysctl.conf
|
|
|
|
echo "net.ipv4.conf.all.proxy_arp = 1" >> /etc/sysctl.conf
|
|
|
|
sudo sysctl -p /etc/sysctl.conf
|
|
|
|
sysctl -p /etc/sysctl.conf
|
|
|
|
|
|
|
|
|
|
|
|
# to add iptables forwarding rules on bounce servers
|
|
|
|
# to add iptables forwarding rules on bounce servers
|
|
|
|
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
|
|
|
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
|
|
|