blat 2a309d4704 init 1 year ago
..
Dockerfile.alpine 2a309d4704 init 1 year ago
Dockerfile.debian 2a309d4704 init 1 year ago
README.md 2a309d4704 init 1 year ago
docker-compose.rotate.yml 2a309d4704 init 1 year ago
entrypoint.alpine.sh 2a309d4704 init 1 year ago
entrypoint.debian.sh 2a309d4704 init 1 year ago
entrypoint.password.sh 2a309d4704 init 1 year ago
killswitch 2a309d4704 init 1 year ago
rotate.sh 2a309d4704 init 1 year ago

README.md

thanks https://unix.stackexchange.com/questions/14160/ssh-tunneling-error-channel-1-open-failed-administratively-prohibited-open

example usage

wg-docker up framagit wg-docker up framagit --browser wg-docker shell framagit

create profile

firefox -CreateProfile wg_$PROFILENAME$SOCKSPORT firefox -P wg$PROFILENAME$SOCKS_PORT

edit profile network proxy section via sed avoid if possible other dependencies https://firefox-source-docs.mozilla.org/mozbase/mozprofile.html

FIREFOX_PROFILE_PATH=framagit sed -i -e 's/(network.proxy.socks\"\, )(.)/\1\"localhost\"/g' $FIREFOX_PROFILE_PATH sed -i -e 's/(network.proxy.socks_port\"\, )(.)/\1\"${SOCKS_PORT}\"/g' $FIREFOX_PROFILE_PATH sed -i -e 's/(network.proxy.socks_remote_dns\"\, )(.)/\1\"true\"/g' $FIREFOX_PROFILE_PATH sed -i -e 's/(network.proxy.socks_remote_dns\"\, )(.)/\1\"true\"/g' $FIREFOX_PROFILE_PATH