From 62a5d5c89f5d4e0c6bc864210a1530d9aaf33adf Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 5 Nov 2008 15:10:55 -0800 Subject: Add config to disable ip/ipv6 forwarding. --- templates/system/ipv6/disable-forwarding/node.def | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/system/ipv6/disable-forwarding/node.def (limited to 'templates/system/ipv6/disable-forwarding') 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" -- cgit v1.2.3