关于如何用您的 NAT/路由设备进行端口转发的指导,参见 portforward.com

如果您的中继在内网运行,您需要设置端口转发。 Forwarding TCP connections is system dependent but the firewalled-clients FAQ entry offers some examples on how to do this.

另外,这还有一个说明如何在 GNU/Linux 下使用 iptables 操作的例子。

/sbin/iptables -A INPUT -i eth0 -p tcp --destination-port 9001 -j ACCEPT

如果您有不同的(连接到互联网的)外部接口,您可能需要改动"eth0"。 因为您可能只有一个(除了环回接口)所以这应该不难找。