Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalspeed每次重新启动都会自动修改Iptables drop tcp 150端口 #60

Open
lowprofileusername opened this issue Apr 7, 2016 · 1 comment

Comments

@lowprofileusername
Copy link

您好
请看下列命令。我在服务器上用ESXI虚拟化了一台Debian 8,下载了最新的finalspeed服务端。TCP偶尔可以用,但是最近一直都用不了。我就看了下防火墙原来是把150 TCP DROP了。当我把防火墙规则清除后,还是用不了TCP模式加速。只能用UDP.请问是为什么呢?谢谢


root@website:/home/website# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
root@website:/home/website# sh /fs/restart.sh
FinalSpeed start,log file: /fs/server.log
root@website:/home/website# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
DROP       tcp  --  anywhere             anywhere             tcp dpt:150 /* tcptun_fs_server */
ACCEPT     udp  --  anywhere             anywhere             udp dpt:150 /* udptun_fs_server */

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
root@website:/home/website#
@coolerlan
Copy link

注:默认 udp 150 和 tcp 150,由于 FinalSpeed 的工作原理,请不要在本机防火墙开放 FinalSpeed 所使用的 tcp 端口。

所以iptables的变化是正常机制的作用。测试端口用telnet ip port的方法吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants