add pptp nat patch
SVN-Revision: 529
This commit is contained in:
parent
65d4d1ddd7
commit
d2aa16fb0e
3 changed files with 2417 additions and 1 deletions
2412
openwrt/package/linux/kernel-patches/308-netfilter-nat-pptp
Normal file
2412
openwrt/package/linux/kernel-patches/308-netfilter-nat-pptp
Normal file
File diff suppressed because it is too large
Load diff
|
@ -344,6 +344,8 @@ CONFIG_IP_NF_FTP=y
|
||||||
# CONFIG_IP_NF_AMANDA is not set
|
# CONFIG_IP_NF_AMANDA is not set
|
||||||
CONFIG_IP_NF_TFTP=y
|
CONFIG_IP_NF_TFTP=y
|
||||||
CONFIG_IP_NF_IRC=y
|
CONFIG_IP_NF_IRC=y
|
||||||
|
CONFIG_IP_NF_CT_PROTO_GRE=m
|
||||||
|
CONFIG_IP_NF_PPTP=m
|
||||||
CONFIG_IP_NF_QUEUE=m
|
CONFIG_IP_NF_QUEUE=m
|
||||||
CONFIG_IP_NF_IPTABLES=y
|
CONFIG_IP_NF_IPTABLES=y
|
||||||
CONFIG_IP_NF_MATCH_LIMIT=m
|
CONFIG_IP_NF_MATCH_LIMIT=m
|
||||||
|
@ -376,6 +378,8 @@ CONFIG_IP_NF_NAT=y
|
||||||
CONFIG_IP_NF_NAT_NEEDED=y
|
CONFIG_IP_NF_NAT_NEEDED=y
|
||||||
CONFIG_IP_NF_TARGET_MASQUERADE=y
|
CONFIG_IP_NF_TARGET_MASQUERADE=y
|
||||||
CONFIG_IP_NF_TARGET_REDIRECT=y
|
CONFIG_IP_NF_TARGET_REDIRECT=y
|
||||||
|
CONFIG_IP_NF_NAT_PPTP=m
|
||||||
|
CONFIG_IP_NF_NAT_PROTO_GRE=m
|
||||||
CONFIG_IP_NF_NAT_SNMP_BASIC=m
|
CONFIG_IP_NF_NAT_SNMP_BASIC=m
|
||||||
CONFIG_IP_NF_NAT_IRC=y
|
CONFIG_IP_NF_NAT_IRC=y
|
||||||
CONFIG_IP_NF_NAT_FTP=y
|
CONFIG_IP_NF_NAT_FTP=y
|
||||||
|
|
|
@ -76,7 +76,6 @@ $(LINUX_DIR)/.depend_done: $(LINUX_DIR)/.configured
|
||||||
|
|
||||||
$(LINUX_DIR)/$(LINUX_BINLOC): $(LINUX_DIR)/.depend_done
|
$(LINUX_DIR)/$(LINUX_BINLOC): $(LINUX_DIR)/.depend_done
|
||||||
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) $(LINUX_FORMAT)
|
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) $(LINUX_FORMAT)
|
||||||
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) modules
|
|
||||||
|
|
||||||
$(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC)
|
$(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC)
|
||||||
cp -fa $(LINUX_DIR)/$(LINUX_BINLOC) $(LINUX_KERNEL)
|
cp -fa $(LINUX_DIR)/$(LINUX_BINLOC) $(LINUX_KERNEL)
|
||||||
|
@ -84,6 +83,7 @@ $(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC)
|
||||||
|
|
||||||
$(LINUX_DIR)/.modules_done: $(LINUX_KERNEL)
|
$(LINUX_DIR)/.modules_done: $(LINUX_KERNEL)
|
||||||
rm -rf $(BUILD_DIR)/modules
|
rm -rf $(BUILD_DIR)/modules
|
||||||
|
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) modules
|
||||||
$(MAKE) -C $(LINUX_DIR) DEPMOD=true INSTALL_MOD_PATH=$(BUILD_DIR)/modules modules_install
|
$(MAKE) -C $(LINUX_DIR) DEPMOD=true INSTALL_MOD_PATH=$(BUILD_DIR)/modules modules_install
|
||||||
touch $(LINUX_DIR)/.modules_done
|
touch $(LINUX_DIR)/.modules_done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue