External access to dependent container #105
Unanswered
sam-semillia
asked this question in
Q&A
Replies: 2 comments 2 replies
-
No ideas? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This has been frustrating for me too. From host network no problem, from external ip no dice. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to run NordLynx VPN container, together with another container (OSCAM) to tunnel all OSCAM traffic through NordVpn.
OSCAM should also be availaible from external access as well. Unfortunately external access only works sometimes, most of the time it does not. Internal connections work perfectly fine. The port is forwarded in the router. This is running on docker ubuntu x64.
Can someone help me please?
Thanks, BR
version: "3"
services:
vpn:
container_name: NordVPN_NordLynx
image: ghcr.io/bubuntux/nordlynx
network_mode: bridge
ports:
- 12357:12357/udp #foward to OSCAM
cap_add:
- NET_ADMIN #required
environment:
- PUID=1000
- PGID=1000
- PRIVATE_KEY=
- NET_LOCAL=192.168.1.0/24
- ALLOWED_IPS=0.0.0.0/0
- TZ=Europe/London
sysctls:
- net.ipv6.conf.all.disable_ipv6=1 # Recomended if using ipv4 only
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
oscam:
image: lscr.io/linuxserver/oscam:latest
container_name: Oscam_VPN
network_mode: service:vpn
environment:
- PUID=0
- PGID=0
- TZ=Europe/London
volumes:
- /home/oscam:/config
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
privileged: true
restart: unless-stopped
depends_on:
- vpn
Beta Was this translation helpful? Give feedback.
All reactions