wg-docker/resources
2022-11-28 21:38:36 +01:00
..
docker-compose.rotate.yml init 2022-11-28 21:38:36 +01:00
Dockerfile.alpine init 2022-11-28 21:38:36 +01:00
Dockerfile.debian init 2022-11-28 21:38:36 +01:00
entrypoint.alpine.sh init 2022-11-28 21:38:36 +01:00
entrypoint.debian.sh init 2022-11-28 21:38:36 +01:00
entrypoint.password.sh init 2022-11-28 21:38:36 +01:00
killswitch init 2022-11-28 21:38:36 +01:00
README.md init 2022-11-28 21:38:36 +01:00
rotate.sh init 2022-11-28 21:38:36 +01:00

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_$PROFILE_NAME_$SOCKS_PORT firefox -P wg_$PROFILE_NAME_$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