I see Docker mentioned every other thread and was wondering how useful it is for non development things, and if so what they are.

  • @Amongussussyballs100OP
    link
    English
    33 months ago

    This looks like an interesting project. Can the vpn container only route traffic that are in other containers, or can regular applications get their traffic routed by the vpn container too?

    • JoeCoT
      link
      fedilink
      33 months ago

      I don’t know of a good way to route other application’s traffic through the VPN container with them being in docker containers, unless you use some intermediary setup. That’s why I have socks proxies routed through the VPN, so I can selectively put traffic through it. If the app supports a socks proxy you could do it that way. At the least you could use Proxychains to do so if the program does TCP networking.

    • calm.like.a.bomb
      link
      fedilink
      English
      1
      edit-2
      3 months ago

      The answer is yes in both cases.

      1. Docker has an internal networking setup. You can create a “network” and all containers in that network communicate with each other, but not with other containers in other networks. So you can set up a VPN container in a network and all containers in that netowrk could use the VPN to route their traffic through.
      2. You can configure your VPN container to expose some ports that it uses to communicate, and then the “regular applications” can make use of those ports to connect through the VPN.