replace tee with sysctl
This commit is contained in:
parent
63a8eb2e60
commit
a8873016c8
3
clatd.sh
3
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue