File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ services:
5656 context : .
5757 cache_from :
5858 - lsiobase/alpine.python3:latest
59+ sysctls : # For IPv6
60+ - net.ipv6.conf.all.disable_ipv6=0
61+ - net.ipv6.conf.default.forwarding=1
62+ - net.ipv6.conf.all.forwarding=1
5963 networks :
6064 mynetwork :
6165 ipv4_address : 10.0.0.5
Original file line number Diff line number Diff line change 22# OpenVPN server sample configuration
33#
44
5- version : ' 2.2'
5+ version : ' 2.2' # Min version 2.1 for IPv6
66services :
77 ovpn :
88 image : slocomptech/openvpn
@@ -22,7 +22,11 @@ services:
2222 context : .
2323 cache_from :
2424 - lsiobase/alpine.python3:latest
25-
25+ sysctls : # For IPv6
26+ - net.ipv6.conf.all.disable_ipv6=0
27+ - net.ipv6.conf.default.forwarding=1
28+ - net.ipv6.conf.all.forwarding=1
29+
2630 network_mode : " bridge"
2731 # network_mode: "host"
2832
You can’t perform that action at this time.
0 commit comments