Giter Club home page Giter Club logo

docker-wireguard-socks-proxy's Introduction

docker-wireguard-socks-proxy's People

Contributors

k0in avatar kizzx2 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

docker-wireguard-socks-proxy's Issues

working only using localhost

Hi, I'm trying to make this work to serve as a proxy-vpn for my local network.
Idea is I have this running on my raspbery pi... And I go through this in some browser to benefit from VPN connection when I really need it...
The problem is for now I didn't manage to make this working from outside the host.

I started the container in its own network bridge (played with the mtu as suggested) but still no luck.
When I connect from the raspberry with "curl -v --proxy socks5://localhost:12345 ipinfo.io" it just work as expexted.
If I do the same with the IP of the host like this : curl -v --proxy socks5://192.168.0.11:12345 ipinfo.io, I just get a Timeout
Of course same result from any other computer on the network.
Am I the only one in this situation ?

Remote peer error

Hi. I am running this under docker in Windows 11 64bit using Windscribe VPN config.
Initially the container starts:

Warning: `/etc/wireguard/SingaporeSMRT.conf' is world accessible
[#] ip link add SingaporeSMRT type wireguard
[#] wg setconf SingaporeSMRT /dev/fd/63
[#] ip -4 address add 100.91.253.181/32 dev SingaporeSMRT
[#] ip link set mtu 1420 up dev SingaporeSMRT
[#] resolvconf -a SingaporeSMRT -m 0 -x
[#] wg set SingaporeSMRT fwmark 51820
[#] ip -4 route add 0.0.0.0/0 dev SingaporeSMRT table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
Feb 17 05:31:07 (1645075867.183984) sockd[91]: info: Dante/server[1/1] v1.4.2 running

However these errors show up soon, and the proxy doesnt work anymore.

Feb 17 05:34:54 (1645076094.703047) sockd[110]: info: pass(1): tcp/accept ]: 40846 -> 172.17.0.1.38412 172.17.0.4.1080 -> 1377: remote peer error (Connection reset by peer).  Session duration: 1s
Feb 17 05:34:55 (1645076095.896394) sockd[110]: info: pass(1): tcp/accept ]: 4285 -> 172.17.0.1.38416 172.17.0.4.1080 -> 814: remote peer error (Connection reset by peer).  Session duration: 0s
Feb 17 05:40:52 (1645076452.245020) sockd[103]: info: block(1): tcp/connect ]: 172.17.0.1.38514 172.17.0.4.1080: could not resolve hostname "1337x.to": Try again

Is this an issue with my VPN or docker-wireguard-socks-proxy?

Error running container via OpenWRT

I get this error when running the following: (renamed .conf to wg0.conf)

docker run -it --rm --cap-add=NET_ADMIN \
    --name wireguard-socks-proxy \
    -v ${PWD}:/etc/wireguard/:ro \
    -p 1080:1080 \
    ghcr.io/k0in/docker-wireguard-socks-proxy:latest
Warning: `/etc/wireguard/sockd.conf' is world accessible
[#] ip link add sockd type wireguard
[#] wg setconf sockd /dev/fd/63
Line unrecognized: `logoutput:stderr'
Configuration parsing error
[#] ip link delete dev sockd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.