开发者

Putty tunnel: Relay access denied

I will try to connect I logged on locally (127.0.0.1) on Putty. Then I try to connect through the tunnel to the remote server.

I get a "Relay access denie开发者_如何学Pythond" error. How can I solve it?


To get an SSH tunnel established:

In PuTTY, on the configuration screen go to Connection > SSH > Tunnels. Set the source port to something like 2500, which is actually localhost:2500. Set Destination to mailserver.example.com:25 (SMTP port) for whatever is the hostname of your mail server.

Connect over SSH, and you have now established a tunnel to port 25 on the destination host.

On your local machine, telnet to your local port, and you are now talking to port 25 on the remote machine.

telnet localhost 2500
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜