Right now I have openvpn running on my host machine. My host machine has other docker container running on the local network. I would like to connect to the docker container services once I am connceted to openvpn. For example I would like to access the jellyfin service when I connect to the vpn, but the browser does not connect to the service.
These are the steps I ran to setup openvpn:
docker-compose run --rm openvpn ovpn_genconfig -u udp://xxx.xxx.xx.xxx:1194 -N -d -c -p "route 172.18.0.2 255.255.255.0" docker-compose run --rm openvpn ovpn_initpki export CLIENTNAME="ipro3" docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME nopass docker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn docker-compose up -d openvpn
Right now I have openvpn running on my host machine. My host machine has other docker container running on the local network. I would like to connect to the docker container services once I am connceted to openvpn. For example I would like to access the jellyfin service when I connect to the vpn, but the browser does not connect to the service.
These are the steps I ran to setup openvpn:
docker-compose run --rm openvpn ovpn_genconfig -u udp://xxx.xxx.xx.xxx:1194 -N -d -c -p "route 172.18.0.2 255.255.255.0" docker-compose run --rm openvpn ovpn_initpki export CLIENTNAME="ipro3" docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME nopass docker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn docker-compose up -d openvpn