add tun device code in proxy.c