Errors processing lines and masquerading in log...

lanab

New Member
Jun 22, 2025
2
0
1
I have some strange errors coming up in the log as it doesn't seem to recognize the commands.

Jun 22 01:04:29 pve networking[839]: error: /etc/network/interfaces: line40: error processing line 'post-up echo 1 > /proc/sys/net/ipv4/ip_forward'
Jun 22 01:04:29 pve networking[839]: error: /etc/network/interfaces: line41: error processing line 'post-up iptables -t nat -A POSTROUTING -s '192.168.240.0/24' -o vmbr0 -j MASQUERADE'
Jun 22 01:04:29 pve networking[839]: error: /etc/network/interfaces: line42: error processing line 'post-down iptables -t nat -D POSTROUTING -s '192.168.240.0/24' -o vmbr0 -j MASQUERADE'

Am i missing some package?