Software Alternatives & Reviews

How to share docker VPN connection

OpenWrt
  1. A lightweight http(s) proxy daemon
    When you run the proxy container, you'll need to run it using --network=container: which will cause it to share the VPN secured network from your VPN client container. The kind of proxy you run will depend on what proxy settings your devices support. If your devices support SOCKS then you would run a SOCKS proxy which is capable of re-routing all of your device's network traffic to the proxy and, therefor, your VPN. Here's an example of someone with a docker based SOCKS proxy setup. If your device only supports HTTP proxy settings then you'll need to run an HTTP proxy like tinyproxy. Note, though, that an HTTP proxy may not account for all the network traffic your devices make. For example, this would allow you to redirect a web browser but things like DNS requests might still leak outside the VPN. When done, the network looks like:.

    #Proxy #Proxy Server #DevOps Tools 5 social mentions

  2. OpenWrt is an open-source firmware based on Linux for wireless routers
    Pricing:
    • Open Source
    I have a dedicated router running OpenWRT and a dedicated WiFi router that is also running OpenWRT. Again, they may be the same device without changing anything. From there, I configured my router to be my VPN client. I use a plugin called VPN Policy Router to control which devices in my home are routed through the VPN and which are not. This has allowed me to put any device, regardless of what configuration it supports, into my VPN but it comes with a pretty high cost. It doesn't cost much money but there's a lot of learning, frustration, and setup cost involved. If you want your router to support gigabit internet then it also costs a lot of money to build a router with enough CPU available.

    #Operating Systems #Routers #Firmware 103 social mentions

Discuss: How to share docker VPN connection

Log in or Post with