Original Post:
Hey guys I'll start off by first mentioning that I'm following this guide: https://www.raspberrypi.org/documentati ... s-point.md. I've used it in the past without an issue.
However this time around after installing raspbian and runningI'm having a few issues, it appears iptables aren't persisting between reboots. Running the following command after a reboot causes the internet pass-through to work again.Code: Select all
sudo apt-get update && sudo apt-get upgrade
If I try to run:Code: Select all
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Which was added to rc.local to restore the iptables it outputs the error:Code: Select all
iptables-restore < /etc/iptables.ipv4.nat
I've also tried installing iptables-persistent, but was met with similar results. Does anyone know what is going on?iptables-restore v1.6.0: iptables-restore: unable to initialize table 'nat'
Error occurred at line: 2
Try `iptables-restore -h' or 'iptables-restore --help' for more information.