#!/bin/sh # This file closes down the tap device. echo 0 > /proc/sys/net/ipv6/conf/@mainInterface@/proxy_ndp echo 0 > /proc/sys/net/ipv6/conf/all/forwarding GWIP=`getent hosts gw.vpn.immae.eu | head -n1 | cut -d' ' -f1` ip neigh del proxy $GWIP dev eth0 ip -6 addr del $GWIP/96 dev $INTERFACE ip -6 link set $INTERFACE down