How to transparently route ALL outbound traffic from the docker container thru the socks5 server running on host? (meaning the entire docker container and everything running inside it should use the specified socks5 proxy)

This page summarizes the projects mentioned and recommended in the original post on /r/docker

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • gluetun

    VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.

  • Okay i think i got it, check out gluetun they have support for a number of options and i believe a socks5 proxy is one of them. I hope this helps, if you need an example of how to route other containers through this i can share a compose.yml file i have for my homelab.

  • nordvpn

    NordVpn Docker Client

  • I found the way bubuntux has done it with his NordVPN container quite elegant: here

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • redsocks

    transparent TCP-to-proxy redirector

  • I used redsocks (https://github.com/darkk/redsocks) for that, but with completely external proxies. However, this solution requires configuring iptables rules inside the container, which may be unsuitable for your usecase

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Extremely Slow Torrenting Speed

    3 projects | /r/nordvpn | 14 Nov 2022
  • Meshnet on opnsense router

    2 projects | /r/nordvpn | 14 Nov 2022
  • Mullvad VPN for Docker containers

    4 projects | /r/selfhosted | 31 May 2022
  • Torrent problems with socks5?

    2 projects | /r/nordvpn | 21 Feb 2022
  • Is there a guide for setting up my VPN with my Plex Server?

    3 projects | /r/PleX | 8 Jan 2022