Permissions beyond the scope of this license may be available at. WireSocks is licensed under a GNU General Public v3 License. Uses LinuxServers wireguard image to setup the wireguard vpn to connect into the socks network license This version uses the equally amazing tun2socks by xjasonlyu! The original idea used Darkks redsocks which is amazing! In the docker-compose we use it for WireGuard so that Windows/MacOS just need a WireGuard config and they can have their traffic transparently proxied. This essentially means you can tunnel arbitary dockers using tun2socks with this option. This includes the setup routes as well as access to the TUN interface. You can use the -net container:wiresocks option with other docker containers to get them to share the same network namespace as the wiresocks docker. The container will start tun2socks and configure routes to forward traffic of the routes provided in TUN_INCLUDED_ROUTES through the created TUN interface. The TUN_INCLUDED_ROUTES may be comma seperated for multiple ranges. It the same as the -e flag given to tun2socks. You specify the socks proxy using the PROXY environment variable, make sure your docker can reach that proxy. The wiresocks service runs a docker image with -cap-add=NET_ADMIN -sysctl="_forward=1" -device=/dev/net/tun:/dev/net/tun flags to allow the container to create a tun interface as well as set routes for it. Information about the tun2socks docker (wiresocks) Technical Detailsīelow is some more technical information about the containers used in the docker-compose.yml file. This effectivly gets us DNS through the SOCKS tunnel. DNSįor DNS we leverage CoreDNS to translate DNS requests for a specific domain and forward them using a TCP lookup. Now all traffic should be forced through the SOCKS proxy without hastle for the networks you want to reach, together with DNS. Note: In some cases it may be useful to add the PersistentKeepalive = 2 directive in the section if you experience random timeouts. Grab that and import it into your client where you want to proxy communications from. config/peer* directories (depending on how many peers you configured). The docker-compose will also setup wireguard and you should be able to find the peer config you want to use in the. env and tweak the values as needed (it should have enough documentation to know what each value is for). UsageĪ docker-compose has been provided to setup both the tun2socks and wireguard.Ĭopy the example. If either the command is not available, or the version reported is not at least version 2.10+, then you need to upgrade. One way to check if you have a recent enough version is to run docker compose version. Please make sure you are using a recent version of docker-compose. Warningĭocker-compose provided by ubuntu (and other distributions) is old and doesnt support versions that allow networking fancyness. This is done by leveraging a wireguard to VPN to a Linux host running this project which has routing setup to force traffic via tun2socks into a Socks5 proxy. The intention is to facilitate tooling on Windows and MacOS that ignore things like proxychains, proxifier, and proxycap. I set this up after fighting with socks proxies and Windows offensive tooling. Just make sure that you meet all the required requirements for this to properly work.Docker-compose and Dockerfile to setup a wireguard VPN connection, forcing specific TCP traffic through a socks proxy. It also supports many package management systems that can easily be deployed. In Prox圜ap you will be able to specify applications that will connect to the Internet via proxy servers. It provides an ultra-fast connection as well as highly-secured and flexible encryption. The Prox圜ap program is designed to run Internet applications through proxy servers working on the protocol HTTP, SOCKS v4 and SOCKS v5. Shadowsocks does an exemplary job especially at protecting your internet traffic. NET Framework 4.7.2 or higher as well as Microsoft Visual C++ 2015 Redistributable. Bear in mind that one of the system requirements for this software tool to work properly is Microsoft. If you wish to connect to a server through a plugin, you must set the plugin's path-relative or absolute-on the Edit Servers form. If you want to use the latter, you must enable ‘Availability Statistics’ in the menu.įor UDP, you will need to use a SocksCap or Prox圜ap to force programs you want to be proxied to tunnel over this tool. The auto-switching of servers can be sorted by the load balance which is chosen randomly, high availability which selects the best sever, and lastly, selecting by total package loss. This open-source program also supports HTTP proxy, server auto-switching, UDP relay, and plugins.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |