I have set up a new debian openVPN server and all is working good, I'm quite new to linux so bear with me please!
Everything works with one exception, in order to get internet access and network I have to apply the following commands:
Code: Select all
iptables -t nat -A POSTROUTING -o ens18 -j MASQUERADE
iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables-save > /etc/iptables.up.rules
I don't think they get saved.....
How can i make them save and last?
Anyone can help?
Thanks!!!