cw1997 / NATBypass

一款lcx在golang下的实现, 可用于内网穿透, 建立TCP反弹隧道用以绕过防火墙入站限制等, This tool is used to establish reverse tunnel in NAT network environment, it can bypass firewall inbound restriction, support all functions of lcx.exe
https://github.com/cw1997/NATBypass
Apache License 2.0
1.1k stars 278 forks source link

fix: use or operation in port validation method #3

Closed hanks closed 6 years ago

hanks commented 6 years ago

I think there is a logic bug in the port validation, so create this pr, please check.

cw1997 commented 6 years ago

thank you very much!