We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b71d2b commit adb2eabCopy full SHA for adb2eab
bin/entrypoint
@@ -16,6 +16,9 @@ if [ ! -c /dev/net/tun ]; then
16
mknod /dev/net/tun c 10 200
17
fi
18
19
+# Enable IP forwarding
20
+echo 1 > /proc/sys/net/ipv4/ip_forward
21
+
22
if [[ $ENABLE_NAT = 1 ]]; then
23
iptables -t nat -A POSTROUTING -s ${NAT_SOURCE} -o ${NAT_DEVICE} -j MASQUERADE
24
# Basic kill switch: Drop forwarded traffic by default, allow only VPN-related
0 commit comments