Skip to content

Commit f4027d4

Browse files
committed
Add fullconenat
Signed-off-by: kongfl888 <kongfl888@outlook.com>
1 parent be74870 commit f4027d4

File tree

4 files changed

+1406
-0
lines changed

4 files changed

+1406
-0
lines changed

net/ipv4/netfilter/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,15 @@ config IP_NF_TARGET_NETMAP
239239
(e.g. when running oldconfig). It selects
240240
CONFIG_NETFILTER_XT_TARGET_NETMAP.
241241

242+
config IP_NF_TARGET_FULLCONENAT
243+
tristate "FULLCONENAT target support"
244+
depends on NETFILTER_ADVANCED
245+
select NETFILTER_XT_TARGET_FULLCONENAT
246+
---help---
247+
This is a backwards-compat option for the user's convenience
248+
(e.g. when running oldconfig). It selects
249+
CONFIG_NETFILTER_XT_TARGET_FULLCONENAT.
250+
242251
config IP_NF_TARGET_REDIRECT
243252
tristate "REDIRECT target support"
244253
depends on NETFILTER_ADVANCED

net/netfilter/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,14 @@ config NETFILTER_XT_TARGET_NETMAP
956956

957957
To compile it as a module, choose M here. If unsure, say N.
958958

959+
config NETFILTER_XT_TARGET_FULLCONENAT
960+
tristate '"FULLCONENAT" target support'
961+
depends on NF_NAT
962+
---help---
963+
Full Cone NAT
964+
965+
To compile it as a module, choose M here. If unsure, say N.
966+
959967
config NETFILTER_XT_TARGET_NFLOG
960968
tristate '"NFLOG" target support'
961969
default m if NETFILTER_ADVANCED=n

net/netfilter/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,6 @@ obj-$(CONFIG_IP_SET) += ipset/
209209

210210
# IPVS
211211
obj-$(CONFIG_IP_VS) += ipvs/
212+
213+
# Full cone NAT
214+
obj-$(CONFIG_NETFILTER_XT_TARGET_FULLCONENAT) += xt_FULLCONENAT.o

0 commit comments

Comments
 (0)