Dante socks5 does't work from an external serv

2019-08-21 20:49发布

问题:

I use Dante socks5 proxy for telegram

And have a problem with an external server:

curl -v -x socks5://user:password@localhost:1080 https://web.telegram.org
* Rebuilt URL to: https://web.telegram.org/
*   Trying localhost...
* TCP_NODELAY set
* Connection failed
* connect to localhost port 1080 failed: Operation timed out
* Failed to connect to localhost port 1080: Operation timed out
* Closing connection 0
curl: (7) Failed to connect to localhost port 1080: Operation timed out

回答1:

I using this command to allow a port

sudo ufw allow 1080


标签: socks dante