1、网络环境:
BT电脑客户端(192.168.1.101) (ip1) <--> 路由器TL-R402M(网关192.168.1.1) (ip2)<--> 外网 (ip3)
2、设置:
(1)Bt 客户端的监听端口设置为55555-55556,实际上应该只需要一个,即55555;
(2)路由器设置了端口转发,设置了服务端口55555和55556指向我电脑内网IP 192.168.1.101;
(3)我也尝试着按照Azureus的官方网页的建议,利用iptables开放了电脑的55555和55556端口,结果如下:
代码: 全选
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:55556
ACCEPT tcp -- anywhere anywhere tcp dpt:55556
ACCEPT udp -- anywhere anywhere udp dpt:55555
ACCEPT tcp -- anywhere anywhere tcp dpt:55555
ACCEPT tcp -- anywhere anywhere tcp dpt:55555
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
代码: 全选
No incoming connections: you may be behind a firewall or router. Perhaps you need to forward the relevant ports.
(1)那个iptables的设置是否有必要,有什么用?
(2)还需要加设么配置,才能让别人也连上我?
请高手指点下哈,给个解决问题的链接也可以,我搜索了很久,还是没搞定!