.. | ||
docker-compose.rotate.yml | ||
Dockerfile.alpine | ||
Dockerfile.debian | ||
entrypoint.alpine.sh | ||
entrypoint.debian.sh | ||
entrypoint.password.sh | ||
killswitch | ||
README.md | ||
rotate.sh |
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