1
0
mirror of https://github.com/wingrunr21/iodine-docker synced 2024-12-19 17:12:30 -05:00
iodine-docker/iodined.sh

10 lines
260 B
Bash
Raw Permalink Normal View History

2015-01-21 11:44:46 -05:00
#!/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