Mercurial > code > home > repos > infra
view net/files/house_net.service @ 329:2bbcf00b8d2a
hgignore and reformat
author | drewp@bigasterisk.com |
---|---|
date | Sun, 23 Feb 2025 15:08:58 -0800 |
parents | 8558ea135812 |
children |
line wrap: on
line source
# written by pyinfra [Unit] After=network-online.target [Service] Type=oneshot ExecStart=sh -c "sysctl net.ipv4.ip_forward=1 && /usr/sbin/iptables -A POSTROUTING --table nat --out-interface eth0 --jump MASQUERADE" RemainAfterExit=yes [Install] WantedBy=multi-user.target