From: Steven Barth Date: Mon, 14 Apr 2014 10:11:54 +0000 (+0000) Subject: ds-lite: disable NAT according to RFC 7084 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad5c0d426e814699dd6a902b6949f5254b0c14ac;p=openwrt%2Fsvn-archive%2Farchive.git ds-lite: disable NAT according to RFC 7084 Signed-off-by: Steven Barth SVN-Revision: 40511 --- diff --git a/package/network/ipv6/ds-lite/Makefile b/package/network/ipv6/ds-lite/Makefile index 61c57c092c..fb6599dc63 100644 --- a/package/network/ipv6/ds-lite/Makefile +++ b/package/network/ipv6/ds-lite/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ds-lite -PKG_VERSION:=3 +PKG_VERSION:=4 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/ipv6/ds-lite/files/dslite.sh b/package/network/ipv6/ds-lite/files/dslite.sh index 670f93cd6e..a526c91d31 100755 --- a/package/network/ipv6/ds-lite/files/dslite.sh +++ b/package/network/ipv6/ds-lite/files/dslite.sh @@ -56,6 +56,13 @@ proto_dslite_setup() { proto_add_data [ -n "$zone" ] && json_add_string zone "$zone" + + json_add_array firewall + json_add_object "" + json_add_string type nat + json_add_string target ACCEPT + json_close_object + json_close_array proto_close_data proto_send_update "$cfg"