diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-04-14 10:11:54 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-04-14 10:11:54 +0000 |
commit | ba6689b064a745dfc07424513d6b283d6f625cf8 (patch) | |
tree | 13c6247d1c38840a2d4d3da6b343edefdebe3b08 /package/network/ipv6/ds-lite/files | |
parent | daf69ee1dac39919801ddea7d6639c4e8f008a1c (diff) | |
download | upstream-ba6689b064a745dfc07424513d6b283d6f625cf8.tar.gz upstream-ba6689b064a745dfc07424513d6b283d6f625cf8.tar.bz2 upstream-ba6689b064a745dfc07424513d6b283d6f625cf8.zip |
ds-lite: disable NAT according to RFC 7084
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 40511
Diffstat (limited to 'package/network/ipv6/ds-lite/files')
-rwxr-xr-x | package/network/ipv6/ds-lite/files/dslite.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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" |