Kippenhof Posted May 19, 2021 Share Posted May 19, 2021 It may sound Stupid, but i want a VM that can only access the Internet through my OVPN-Client Container. Is there any way to do something loke that? thx for your Answers - Kippenhof Quote Link to comment
tinyaim Posted May 26, 2021 Share Posted May 26, 2021 On the container that you want to use the OpenVPN container set the network to None and in advanced mode add the following to the extra parameters variable "--net=container:[container_name]" setting the [container name] to the openvpn container name you have chosen eg "--net=container:OpenVPN" Quote Link to comment
apefray Posted June 4, 2021 Share Posted June 4, 2021 (edited) I too would like my VM to access the Internet through my OVPN-Client Container. Unfortunatley @tinyaim your solution deals with Dockers being routed through another Docker, what we are talking about is ensuring our VM uses the OVPN-Client Container to access the internet. Edited June 4, 2021 by apefray Quote Link to comment
tinyaim Posted July 3, 2021 Share Posted July 3, 2021 (edited) On 5/26/2021 at 9:05 PM, tinyaim said: On the container that you want to use the OpenVPN container set the network to None and in advanced mode add the following to the extra parameters variable "--net=container:[container_name]" setting the [container name] to the openvpn container name you have chosen eg "--net=container:OpenVPN" Yep I know that but in playing I set it to host and it seems to have taken out the unraid webui. I have no easy way of setting back that I can see. The current acces I have to the server is via SSH. Edited July 3, 2021 by tinyaim Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.