Chion82 / netfilter-full-cone-nat

A kernel module to turn MASQUERADE into full cone SNAT
GNU General Public License v2.0
433 stars 123 forks source link

如何支持tcp fullconenat #27

Open lguohan opened 5 years ago

lguohan commented 5 years ago

支持tcp fullconenat需要做什么,改动大吗?

lguohan commented 5 years ago

感觉把protonum != IPPROTO_UDP 地方改成 protonum != IPPROTO_UDP && protonum != IPPROTO_TCP就差不多了,不知道理解的对不对?

shikkoku commented 5 years ago

RFC3489 定义的 NAT 类型 也只是针对 UDP 的,TCP 还是用 UPnP 吧

引用自 @LGA1150