Kulturmensch
Regular Pleskian
OpenVpn is only working on my v-server (Ubuntu 20.04.3 LTS / Plesk Osidian) when I configure iptables with the command:
After server reboot this rule has disappeared and I have to use the command again via ssh.
Is there any suggestion how to set this rule permanent surviving a reboot?
(I tried already succesless to perform a crontab @Reboot with this command. result: error iptables: command not found)
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQERADE
After server reboot this rule has disappeared and I have to use the command again via ssh.
Is there any suggestion how to set this rule permanent surviving a reboot?
(I tried already succesless to perform a crontab @Reboot with this command. result: error iptables: command not found)