File tree 6 files changed +17
-17
lines changed
example-full/public-server1
example-internet-browsing-vpn/server
example-simple-client-to-server/server
example-simple-server-to-server/server1
6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ apt update
6
6
apt install wireguard
7
7
8
8
# to enable kernel relaying/forwarding ability on bounce servers
9
- echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
- echo " net.ipv4.conf.all.proxy_arp" >> /etc/sysctl.conf
11
- sudo sysctl -p /etc/sysctl.conf
9
+ echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
+ echo " net.ipv4.conf.all.proxy_arp = 1 " >> /etc/sysctl.conf
11
+ sysctl -p /etc/sysctl.conf
12
12
13
13
# to add iptables forwarding rules on bounce servers
14
14
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ apt update
6
6
apt install wireguard
7
7
8
8
# to enable kernel relaying/forwarding ability on bounce servers
9
- echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
- echo " net.ipv4.conf.all.proxy_arp" >> /etc/sysctl.conf
11
- sudo sysctl -p /etc/sysctl.conf
9
+ echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
+ echo " net.ipv4.conf.all.proxy_arp = 1 " >> /etc/sysctl.conf
11
+ sysctl -p /etc/sysctl.conf
12
12
13
13
# to add iptables forwarding rules on bounce servers
14
14
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ apt update
6
6
apt install wireguard
7
7
8
8
# to enable kernel relaying/forwarding ability on bounce servers
9
- echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
- echo " net.ipv4.conf.all.proxy_arp" >> /etc/sysctl.conf
11
- sudo sysctl -p /etc/sysctl.conf
9
+ echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
+ echo " net.ipv4.conf.all.proxy_arp = 1 " >> /etc/sysctl.conf
11
+ sysctl -p /etc/sysctl.conf
12
12
13
13
# to add iptables forwarding rules on bounce servers
14
14
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ apt update
6
6
apt install wireguard
7
7
8
8
# to enable kernel relaying/forwarding ability on bounce servers
9
- echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
- echo " net.ipv4.conf.all.proxy_arp" >> /etc/sysctl.conf
11
- sudo sysctl -p /etc/sysctl.conf
9
+ echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
+ echo " net.ipv4.conf.all.proxy_arp =1 " >> /etc/sysctl.conf
11
+ sysctl -p /etc/sysctl.conf
12
12
13
13
# to add iptables forwarding rules on bounce servers
14
14
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ apt update
6
6
apt install wireguard
7
7
8
8
# to enable kernel relaying/forwarding ability on bounce servers
9
- echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
- echo " net.ipv4.conf.all.proxy_arp" >> /etc/sysctl.conf
11
- sudo sysctl -p /etc/sysctl.conf
9
+ echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
+ echo " net.ipv4.conf.all.proxy_arp = 1 " >> /etc/sysctl.conf
11
+ sysctl -p /etc/sysctl.conf
12
12
13
13
# to add iptables forwarding rules on bounce servers
14
14
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ apt update
6
6
apt install wireguard
7
7
8
8
# to enable kernel relaying/forwarding ability on bounce servers
9
- echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
- echo " net.ipv4.conf.all.proxy_arp = 1" >> /etc/sysctl.conf
9
+ echo " net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
10
+ echo " net.ipv4.conf.all.proxy_arp = 1" >> /etc/sysctl.conf
11
11
sysctl -p /etc/sysctl.conf
12
12
13
13
# to add iptables forwarding rules on bounce servers
You can’t perform that action at this time.
0 commit comments