Skip to content

Instantly share code, notes, and snippets.

@taksan
Last active October 23, 2019 00:25
Show Gist options
  • Save taksan/9d08baab33bba2675b2c4a45f5760261 to your computer and use it in GitHub Desktop.
Save taksan/9d08baab33bba2675b2c4a45f5760261 to your computer and use it in GitHub Desktop.
[Unit]
Description=IpForward
[Service]
Type=oneshot
User=root
ExecStart=/etc/init.d/ip-forward
StandardOutput=tty
RemainAfterExit=yes
Requires=network.target
After=network.target
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment