mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
enable IPv4 forwarding
This commit is contained in:
parent
5eb00202e0
commit
9bf1948e3f
@ -1,6 +1,9 @@
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/mount --make-rprivate /
|
||||
# Enable forwarding to allow NAT to work
|
||||
# TODO: Move this to sysctl.conf
|
||||
ExecStartPre=/sbin/sysctl -w net.ipv4.ip_forward=1
|
||||
|
||||
# HACK: for some reason docker is crashing when exiting a container when being
|
||||
# supervised by systemd. Fork out for now. Real solution should be:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user