From a8873016c85f90ecf136500fdd4fe71ced8655b3 Mon Sep 17 00:00:00 2001 From: genofire Date: Wed, 20 Nov 2019 11:59:34 +0100 Subject: [PATCH] replace tee with sysctl --- clatd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clatd.sh b/clatd.sh index 4cbc112..bd5c930 100755 --- a/clatd.sh +++ b/clatd.sh @@ -107,7 +107,8 @@ jool_setup() { route_ipv6 () { echo "${color_default}> routing ipv6 to namespace${color_log}" echo 1 > /proc/sys/net/ipv6/conf/$ifname_ex/proxy_ndp - echo 1 tee /proc/sys/net/ipv6/conf/*/forwarding + sysctl -w net.ipv6.conf.all.forwarding=1 + #echo 1 tee /proc/sys/net/ipv6/conf/*/forwarding ip -6 neigh add proxy $v6_address_clat dev $ifname_ex ip -6 route add $v6_address_clat/128 via $internal_ll dev clat }