Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using OpenVPN to Update Docker Host #415

Open
MeCJay12 opened this issue Nov 18, 2022 · 0 comments
Open

Using OpenVPN to Update Docker Host #415

MeCJay12 opened this issue Nov 18, 2022 · 0 comments

Comments

@MeCJay12
Copy link

MeCJay12 commented Nov 18, 2022

Is this possible? I'm trying to use this container as an easier, more uniform way of deploying OpenVPN on my network. Using host networking, the tunnel creation and routing are working beautifully. The last piece for my deployment is to get the docker host's DNS settings to update with the container. I can see that inside of the container, DNS is working as expected. I tried the -d flag but that didn't help. Thanks in advance!

Docker run command:

docker run -d \
	--restart=always \
	--network host \
	--name VPN \
	--cap-add=NET_ADMIN \
	-v /mnt/Docker/VPN/:/vpn \
	-e TZ=America/New_York \
	dperson/openvpn-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant