diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2008-11-05 15:10:55 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2008-11-05 15:10:55 -0800 |
commit | 62a5d5c89f5d4e0c6bc864210a1530d9aaf33adf (patch) | |
tree | e8a9ac3133a28b6bd61def1644c5b57cfe45e403 /templates/system/ipv6 | |
parent | ef19427e9f27aeb2be8517e55f1fc34192e25ebe (diff) | |
download | vyatta-cfg-system-62a5d5c89f5d4e0c6bc864210a1530d9aaf33adf.tar.gz vyatta-cfg-system-62a5d5c89f5d4e0c6bc864210a1530d9aaf33adf.zip |
Add config to disable ip/ipv6 forwarding.
Diffstat (limited to 'templates/system/ipv6')
-rw-r--r-- | templates/system/ipv6/disable-forwarding/node.def | 3 | ||||
-rw-r--r-- | templates/system/ipv6/node.def | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/system/ipv6/disable-forwarding/node.def b/templates/system/ipv6/disable-forwarding/node.def new file mode 100644 index 00000000..5a7576c3 --- /dev/null +++ b/templates/system/ipv6/disable-forwarding/node.def @@ -0,0 +1,3 @@ +help: Disable IPv6 forwarding +create: sudo sh -c "echo 0 > /proc/sys/net/ipv6/conf/all/forwarding" +delete: sudo sh -c "echo 1 > /proc/sys/net/ipv6/conf/all/forwarding" diff --git a/templates/system/ipv6/node.def b/templates/system/ipv6/node.def new file mode 100644 index 00000000..7a7c2715 --- /dev/null +++ b/templates/system/ipv6/node.def @@ -0,0 +1 @@ +help: Set IPv6 settings |