Chion82 / netfilter-full-cone-nat

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

Check macro NF_NAT_RANGE_PROTO_RANDOM_FULLY #13

Closed LGA1150 closed 6 years ago

LGA1150 commented 6 years ago

Workaround https://github.com/Chion82/netfilter-full-cone-nat/issues/2#issuecomment-374158956

Chion82 commented 6 years ago

Please also consider adding this macro check for xt_FULLCONENAT.c . For UDP packets, all NAT port allocation is taken over by this module and for now NF_NAT_RANGE_PROTO_RANDOM_FULLY actually does the same thing as NF_NAT_RANGE_PROTO_RANDOM.