1
0
mirror of https://github.com/wingrunr21/iodine-docker synced 2024-12-19 17:12:30 -05:00
iodine-docker/iodined.sh
2015-01-21 09:44:46 -07:00

10 lines
260 B
Bash
Executable File

#!/bin/sh
TUNNEL_IP=${IODINE_TUNNEL_IP:-"10.0.0.1"}
# Thanks to https://github.com/jpetazzo/dockvpn for the tun/tap fix
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
exec iodined -c -f $TUNNEL_IP $IODINE_HOST -P $IODINE_PASSWORD >>/var/log/iodined.log 2>&1