annotate files/net/house_net.service @ 300:e9950e0185b0

more hosts
author drewp@bigasterisk.com
date Wed, 07 Aug 2024 00:58:20 -0700
parents 65e28d2e0cd8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
1 # written by pyinfra
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
2
69
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
3 [Unit]
94
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
4 After=network-online.target nss-lookup.target
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
5 Wants=network-online.target nss-lookup.target
69
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
6
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
7 [Service]
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
8 Type=oneshot
107
d70816c7c7db fix pipe net forwarding after update to ubuntu 22.04
drewp
parents: 94
diff changeset
9 ExecStart=sh -c "sysctl net.ipv4.ip_forward=1 && /usr/sbin/iptables -A POSTROUTING --table nat --out-interface eth0 --jump MASQUERADE"
94
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
10 RemainAfterExit=yes
122ba5444176 dhcp,dns to pipe
drewp@bigasterisk.com
parents: 89
diff changeset
11
69
659e4b228909 new host 'pipe'
drewp@bigasterisk.com
parents:
diff changeset
12
85
1ac08aba5ae5 docker->podman, and some pkgs + inventory
drewp@bigasterisk.com
parents: 82
diff changeset
13 [Install]
1ac08aba5ae5 docker->podman, and some pkgs + inventory
drewp@bigasterisk.com
parents: 82
diff changeset
14 WantedBy=multi-user.target