Use the name 'systemd-timesync' rather than the uid which can change
This commit is contained in:
parent
f4f1f3b153
commit
ea16dd0949
@ -4,6 +4,6 @@
|
||||
:OUTPUT DROP [0:0]
|
||||
-A INPUT -m state --state ESTABLISHED -j ACCEPT
|
||||
-A OUTPUT -p udp -m udp --sport 68 --dport 67 -j ACCEPT
|
||||
-A OUTPUT -p udp -m owner --uid-owner 996 -j ACCEPT
|
||||
-A OUTPUT -p udp -m owner --uid-owner systemd-timesync -j ACCEPT
|
||||
-A OUTPUT -j LOG --log-uid --log-prefix 'iptables'
|
||||
COMMIT
|
||||
|
Loading…
Reference in New Issue
Block a user