Skip to content

Instantly share code, notes, and snippets.

@hlx98007
Last active December 8, 2016 00:56
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 hlx98007/5e998c958cf9f21604112bc379c5c2ab to your computer and use it in GitHub Desktop.
Save hlx98007/5e998c958cf9f21604112bc379c5c2ab to your computer and use it in GitHub Desktop.
Hurricane Electric TunnelBroker systemd unit file
[Unit]
Description=Activate IPv6
After=network-online.target
[Service]
Type=oneshot
ExecStart=/bin/sh /root/ipv6.sh
ExecStartPost=/usr/sbin/ping6 -c1 ipv6.google.com
[Install]
WantedBy=multi-user.target
@hlx98007
Copy link
Author

hlx98007 commented Dec 8, 2016

ExecStartPost may be needed because TunnelBroker only works after the server sends an IPv6 request of any type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment