08-25-2016, 09:45 PM
In this thread and in the FAQ
is mentioned as an important setting.
At least on my system running on Raspbian Jessie this setting is just kept in memory and therefore gone after a reboot.
(just run
to see the difference before and after reboot).
To make it permanent I used the iptables-persistent package.
Some of my iptables rules seems to be set by other ways and I end up with several identical rules twice in iptables (once by whatever way and once by /etc/iptables/rules.v4 ). As a non expert I think this should not harm having the same rule several times but to to make sure that I don't get inconsistencies if I change one of them later I removed the other ones out of /etc/iptables/rules.v4 .
I'm still having problems with SSDP errors but nervelessness I think I made a step in the right direction. Now I'll see what else could be the problem....
Code:
sudo iptables -A INPUT -s 127.0.0.1 -j ACCEPT
At least on my system running on Raspbian Jessie this setting is just kept in memory and therefore gone after a reboot.
(just run
Code:
sudo iptables -L
To make it permanent I used the iptables-persistent package.
Code:
sudo apt-get install iptables-persistent
sudo iptables -A INPUT -s 127.0.0.1 -j ACCEPT
sudo bash -c "iptables-save > /etc/iptables/rules.v4"
Some of my iptables rules seems to be set by other ways and I end up with several identical rules twice in iptables (once by whatever way and once by /etc/iptables/rules.v4 ). As a non expert I think this should not harm having the same rule several times but to to make sure that I don't get inconsistencies if I change one of them later I removed the other ones out of /etc/iptables/rules.v4 .
I'm still having problems with SSDP errors but nervelessness I think I made a step in the right direction. Now I'll see what else could be the problem....