morty
morty copied to clipboard
How to use a socks5 proxy?
I've seen in #70 that morty support using a socks5 proxy but I have not found any documentation on how to actually setup this proxy. I have tried using:
morty:
container_name: morty
image: dalf/morty
restart: unless-stopped
networks:
- web_proxy
command: -timeout 6 -ipv6 -socks5 ${MORTY_SOCKS5_USERNAME}:${MORTY_SOCKS5_PASSWORD}@${MORTY_SOCKS5_HOST}:${MORTY_SOCKS5_PORT}
environment:
- MORTY_KEY=${MORTY_KEY}
- MORTY_ADDRESS=0.0.0.0:3000
read_only: true
cap_drop:
- ALL
But it does not proxy the traffic. Am i missing something?
Did you get it to work?
I fixed it by cloning this repo and editting the Dockerfile
I did not fix this, can you share your Dockerfile?
I did not fix this, can you share your Dockerfile?
Change ENTRYPOINT ["/usr/local/morty/morty"] to ENTRYPOINT ["/usr/local/morty/morty", "-socks5", "ip:port"]
Its hardcoded but "command" does not seem to work either so.
Thank you! I will try it soon.
For me this works:
command: -socks5 socks5://ip:port