X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=teardown-nat;fp=teardown-nat;h=c237338d148a272c14e385e1af136f593aed2ab3;hb=f6ed4fcd49097356b5f23143e1df6fc7eb20dcb4;hp=c1029b4f1bf3539d21399387a327074eab053fe0;hpb=e0ef68a4f4784d3bcb13a688650e79aec099980c;p=nodemanager-topo.git diff --git a/teardown-nat b/teardown-nat index c1029b4..c237338 100644 --- a/teardown-nat +++ b/teardown-nat @@ -9,7 +9,7 @@ ETUN1=natx$KEY /sbin/iptables -D FORWARD -i $ETUN1 -o eth0 -j ACCEPT # Get rid of etun devices, only need name of one of them -echo $ETUN1 > /sys/module/etun/parameters/delif +ip link delete dev $ETUN1