Dante socks5 无法在外部服务器上运行

Dante socks5 does't work from an external server

我用Dante socks5 proxy for telegram

外部服务器有问题:

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

我使用这个命令来允许一个端口

sudo ufw allow 1080