From ba6689b064a745dfc07424513d6b283d6f625cf8 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 14 Apr 2014 10:11:54 +0000 Subject: [PATCH] ds-lite: disable NAT according to RFC 7084 Signed-off-by: Steven Barth SVN-Revision: 40511 --- package/network/ipv6/ds-lite/Makefile | 2 +- package/network/ipv6/ds-lite/files/dslite.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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"