Skip to content

Instantly share code, notes, and snippets.

@tetranz
Last active November 14, 2020 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tetranz/1fc05dd6cf839d1a687589e9ffd6c8ea to your computer and use it in GitHub Desktop.
Save tetranz/1fc05dd6cf839d1a687589e9ffd6c8ea to your computer and use it in GitHub Desktop.
tun-easytether
allow-hotplug tun-easytether
iface tun-easytether inet static
address 192.168.117.0
netmask 255.255.255.254
broadcast 255.255.255.255
gateway 192.168.117.1
mtu 1464
post-up echo "nameserver 192.168.117.1" | /sbin/resolvconf -a tun-easytether
pre-down /sbin/resolvconf -d tun-easytether
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment