From 1d3916e36af76d07ed039d59f307d39b5e2722eb Mon Sep 17 00:00:00 2001 From: Salvydas Lukosius Date: Sun, 28 Mar 2021 17:13:24 +0100 Subject: [PATCH] Fixed rest missing values --- example-full/public-server1/setup.sh | 6 +++--- example-internet-browsing-vpn/server/setup.sh | 6 +++--- example-lan-briding/montreal/setup.sh | 6 +++--- example-lan-briding/vancouver/setup.sh | 6 +++--- example-simple-client-to-server/server/setup.sh | 6 +++--- example-simple-server-to-server/server1/setup.sh | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/example-full/public-server1/setup.sh b/example-full/public-server1/setup.sh index 385c4d8..b400ad1 100644 --- a/example-full/public-server1/setup.sh +++ b/example-full/public-server1/setup.sh @@ -6,9 +6,9 @@ apt update 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.ip_forward = 1" >>/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 diff --git a/example-internet-browsing-vpn/server/setup.sh b/example-internet-browsing-vpn/server/setup.sh index 385c4d8..b400ad1 100644 --- a/example-internet-browsing-vpn/server/setup.sh +++ b/example-internet-browsing-vpn/server/setup.sh @@ -6,9 +6,9 @@ apt update 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.ip_forward = 1" >>/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 diff --git a/example-lan-briding/montreal/setup.sh b/example-lan-briding/montreal/setup.sh index 385c4d8..b400ad1 100644 --- a/example-lan-briding/montreal/setup.sh +++ b/example-lan-briding/montreal/setup.sh @@ -6,9 +6,9 @@ apt update 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.ip_forward = 1" >>/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 diff --git a/example-lan-briding/vancouver/setup.sh b/example-lan-briding/vancouver/setup.sh index 385c4d8..da8a726 100644 --- a/example-lan-briding/vancouver/setup.sh +++ b/example-lan-briding/vancouver/setup.sh @@ -6,9 +6,9 @@ apt update 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.ip_forward = 1" >>/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 diff --git a/example-simple-client-to-server/server/setup.sh b/example-simple-client-to-server/server/setup.sh index 385c4d8..b400ad1 100644 --- a/example-simple-client-to-server/server/setup.sh +++ b/example-simple-client-to-server/server/setup.sh @@ -6,9 +6,9 @@ apt update 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.ip_forward = 1" >>/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 diff --git a/example-simple-server-to-server/server1/setup.sh b/example-simple-server-to-server/server1/setup.sh index 3d6b76f..b400ad1 100644 --- a/example-simple-server-to-server/server1/setup.sh +++ b/example-simple-server-to-server/server1/setup.sh @@ -6,8 +6,8 @@ apt update 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 = 1" >> /etc/sysctl.conf +echo "net.ipv4.ip_forward = 1" >>/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