Question
what is matter with the two iptable commands?
sudo vi /etc/pptpd.conf
localip vps ip
remoteip 10.100.0.2-10
root@change:~# sudo iptables -t nat -A POSTROUTING -s 10.100.0.0/24-o eth0 -j MASQUERADE
Bad argument `eth0'
Try `iptables -h' or 'iptables --help' for more information.
root@change:~# sudo iptables -A FORWARD -s 10.100.0.0/24-p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1200
Bad argument `tcp'
Try `iptables -h' or 'iptables --help' for more information.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×