Skip to content

Commit 14ddcf2

Browse files
committed
Improved templates
1 parent 6f070e9 commit 14ddcf2

File tree

8 files changed

+40
-4
lines changed

8 files changed

+40
-4
lines changed

root/usr/local/share/docker-openvpn/examples/basic/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ dev tun0
1111
proto $PROTO
1212
nobind
1313

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1419
# Remote info
1520
remote $SERVER_IP $PORT
1621

root/usr/local/share/docker-openvpn/examples/basic_ipv6/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
client
1010
dev tun0
1111
proto $PROTO
12-
#proto udp6 # Uncomment this to use IPv6 to connect to server
1312
nobind
1413

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1519
# Remote info
1620
remote $SERVER_IP $PORT
1721

root/usr/local/share/docker-openvpn/examples/basic_nat/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ dev tun0
1111
proto $PROTO
1212
nobind
1313

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1419
# Remote info
1520
remote $SERVER_IP $PORT
1621

root/usr/local/share/docker-openvpn/examples/basic_nat_ipv6/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
client
1010
dev tun0
1111
proto $PROTO
12-
#proto udp6 # Uncomment this to use IPv6 to connect to server
1312
nobind
1413

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1519
# Remote info
1620
remote $SERVER_IP $PORT
1721

root/usr/local/share/docker-openvpn/examples/basic_nat_wlp/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ dev tun0
1111
proto $PROTO
1212
nobind
1313

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1419
# Remote info
1520
remote $SERVER_IP $PORT
1621

root/usr/local/share/docker-openvpn/examples/basic_nat_wlp_ipv6/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
client
1010
dev tun0
1111
proto $PROTO
12-
#proto udp6 # Uncomment this to use IPv6 to connect to server
1312
nobind
1413

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1519
# Remote info
1620
remote $SERVER_IP $PORT
1721

root/usr/local/share/docker-openvpn/examples/basic_routed/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ dev tun0
1111
proto $PROTO
1212
nobind
1313

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1419
# Remote info
1520
remote $SERVER_IP $PORT
1621

root/usr/local/share/docker-openvpn/examples/basic_routed_ipv6/config/openvpn/openvpn-template.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
client
1010
dev tun0
1111
proto $PROTO
12-
#proto udp6 # Uncomment this to use IPv6 to connect to server
1312
nobind
1413

14+
# Note: If using in container
15+
# Also comment out user & group option bellow
16+
# config include.conf
17+
# config unprivileged.conf
18+
1519
# Remote info
1620
remote $SERVER_IP $PORT
1721

0 commit comments

Comments
 (0)