select BR2_PACKAGE_KMOD_IPT_IPOPT
select BR2_PACKAGE_KMOD_IPT_IPSEC
select BR2_PACKAGE_KMOD_IPT_NAT
+ select BR2_PACKAGE_KMOD_IPT_NAT_PPTP
+ select BR2_PACKAGE_KMOD_IPT_NAT_H323
+ select BR2_PACKAGE_KMOD_IPT_NAT_RTSP
select BR2_PACKAGE_KMOD_IPT_NAT_EXTRA
select BR2_PACKAGE_KMOD_IPT_QUEUE
select BR2_PACKAGE_KMOD_IPT_ULOG
Includes:
* ipt_REDIRECT
-config BR2_PACKAGE_KMOD_IPT_NAT_H323
- tristate "Netfilter NAT modules for H.323"
- default m
+config BR2_PACKAGE_KMOD_IPT_NAT_DEFAULT
+ tristate "Netfilter NAT modules for special protocols"
+ default y
help
- Netfilter (IPv4) NAT kernel modules for H.323
+ Default Netfilter (IPv4) NAT kernel modules for special protocols
+
+ Includes:
+ * ip_conntrack_ftp
+ * ip_nat_ftp
+ * ip_conntrack_irc
+ * ip_nat_irc
+ * ip_conntrack_tftp
config BR2_PACKAGE_KMOD_IPT_NAT_PPTP
- tristate "Netfilter NAT modules for PPTP"
+ tristate "Netfilter NAT modules for GRE and PPTP"
default m
help
- Netfilter (IPv4) NAT kernel modules for PPTP
+ Netfilter (IPv4) NAT kernel modules for GRE and PPTP
+
+config BR2_PACKAGE_KMOD_IPT_NAT_H323
+ tristate "Netfilter NAT modules for H.323"
+ default m
+ help
+ Netfilter (IPv4) NAT kernel modules for H.323
config BR2_PACKAGE_KMOD_IPT_NAT_RTSP
tristate "Netfilter NAT modules for RTSP"
Includes:
* ip_conntrack_amanda
- * ip_conntrack_proto_gre
- * ip_nat_proto_gre
* ip_nat_snmp_basic
* ip_conntrack_tftp
--- /dev/null
+Package: kmod-ipt-nat-default
+Priority: optional
+Section: net
+Description: Default Netfilter (IPv4) NAT kernel modules for special protocols
Package: kmod-ipt-nat-pptp
Priority: optional
Section: net
-Description: Netfilter (IPv4) NAT kernel modules for PPTP
+Description: Netfilter (IPv4) NAT kernel modules for GRE and PPTP
$(eval $(call KMOD_template,IPT_IPSEC,ipt-ipsec,\
$(foreach mod,$(IPT_IPSEC-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).o) \
))
+$(eval $(call KMOD_template,IPT_NAT_DEFAULT,ipt-nat-default,\
+ $(foreach mod,$(IPT_NAT_DEFAULT-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).o) \
+))
$(eval $(call KMOD_template,IPT_NAT,ipt-nat,\
$(foreach mod,$(IPT_NAT-m),$(MODULES_DIR)/kernel/net/ipv4/netfilter/$(mod).o) \
))
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_CONNTRACK_MARK=y
-CONFIG_IP_NF_FTP=y
+CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_TFTP=m
-CONFIG_IP_NF_IRC=y
+CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_CT_PROTO_GRE=m
CONFIG_IP_NF_PPTP=m
CONFIG_IP_NF_H323=m
CONFIG_IP_NF_NAT_H323=m
CONFIG_IP_NF_NAT_RTSP=m
CONFIG_IP_NF_NAT_SNMP_BASIC=m
-CONFIG_IP_NF_NAT_IRC=y
-CONFIG_IP_NF_NAT_FTP=y
+CONFIG_IP_NF_NAT_IRC=m
+CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_TOS=m
IPT_NAT-$(CONFIG_IP_NF_TARGET_MIRROR) += ipt_MIRROR
IPT_NAT-$(CONFIG_IP_NF_TARGET_REDIRECT) += ipt_REDIRECT
+IPT_NAT_DEFAULT-$(CONFIG_IP_NF_TFTP) += ip_conntrack_tftp
+IPT_NAT_DEFAULT-$(CONFIG_IP_NF_NAT_TFTP) += ip_nat_tftp
+IPT_NAT_DEFAULT-$(CONFIG_IP_NF_FTP) += ip_conntrack_ftp
+IPT_NAT_DEFAULT-$(CONFIG_IP_NF_NAT_FTP) += ip_nat_ftp
+IPT_NAT_DEFAULT-$(CONFIG_IP_NF_IRC) += ip_conntrack_irc
+IPT_NAT_DEFAULT-$(CONFIG_IP_NF_NAT_IRC) += ip_nat_irc
+
IPT_NAT_H323-m :=
IPT_NAT_H323-$(CONFIG_IP_NF_H323) += ip_conntrack_h323
IPT_NAT_H323-$(CONFIG_IP_NF_NAT_H323) += ip_nat_h323
IPT_NAT_PPTP-m +=
+IPT_NAT_PPTP-$(CONFIG_IP_NF_CT_PROTO_GRE) += ip_conntrack_proto_gre
+IPT_NAT_PPTP-$(CONFIG_IP_NF_NAT_PROTO_GRE) += ip_nat_proto_gre
IPT_NAT_PPTP-$(CONFIG_IP_NF_PPTP) += ip_conntrack_pptp
IPT_NAT_PPTP-$(CONFIG_IP_NF_NAT_PPTP) += ip_nat_pptp
IPT_NAT_EXTRA-m :=
IPT_NAT_EXTRA-$(CONFIG_IP_NF_AMANDA) += ip_conntrack_amanda
-IPT_NAT_EXTRA-$(CONFIG_IP_NF_CT_PROTO_GRE) += ip_conntrack_proto_gre
-IPT_NAT_EXTRA-$(CONFIG_IP_NF_NAT_PROTO_GRE) += ip_nat_proto_gre
IPT_NAT_EXTRA-$(CONFIG_IP_NF_NAT_SNMP_BASIC) += ip_nat_snmp_basic
-IPT_NAT_EXTRA-$(CONFIG_IP_NF_TFTP) += ip_conntrack_tftp
-IPT_NAT_EXTRA-$(CONFIG_IP_NF_NAT_TFTP) += ip_nat_tftp
IPT_QUEUE-m :=
IPT_QUEUE-$(CONFIG_IP_NF_QUEUE) += ip_queue