ChehTan got a reaction from
Stalinium in No IPv4 port forwarding, IPv6 works fine
...
Small update:
If anyone is using the same source image as me, in order to have qBitTorrent to work properly, you must add the environment variable VPNPORT with your Port Forwarded from AirVPN Client Area, like so :
vpn:
container_name: openVPN
image: conservat.vwa.re/groupvware/docker/openvpn-client:latest #dperson/openvpn-client:latest
cap_add:
- net_admin # required to modify network interfaces
restart: unless-stopped
networks:
vpn_net:
aliases:
- vpn-bit
labels:
- autoheal=true
ports:
- 8081:8081 # port for qbitTorrent
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- VPNPORT=<VPNPORTFROMAIR> # This one is TCP
- VPNPORT_1=<VPNPORTFROMAIR>;udp
devices:
- /dev/net/tun:/dev/net/tun
volumes:
- /host/path/vpn:/vpn # OpenVPN configuration
security_opt:
- label:disable
dns:
- 9.9.9.9
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
command: '-f "" -r 192.168.1.0/24'