
In case of any questions related to this blog post please contact us using Husarnet Community Forum or via email at Read also. I hope you will find this article helpful. how to run a simple website with external access only for computers from the same VPN network allows you to use existing VPN images so that you do not have to add the VPN software to your images Allows to use exactly the same VPN image and configuration.how to write a Dockerfile for creating a container image with pre-installed VPN client.👉 :80 👈Īt this point any computer that is in the same Husarnet VPN network as your container, can access a webserver by using docker-vpn-1 hostname or by using a containers IPv6 address as described in a log output from a container above. 🔥 Connecting to Husarnet network as "docker-vpn-1" : > -v "/home/blog-examples/docker-vpn/src:/var/www/html/:ro" \ The same result might be achieved in much shorter, but less informative way:īlog-examples/docker-vpn$ sudo docker run -rm -it \ You could notice that init-container.sh seems to be long, however mainly due to a rich terminal log. Print_instruction < < ( husarnet status )
