So I'm setting a new fedora install on my raspberrypi (version: newest pidora).
Everything works, except vnc, any connection attempts are rejected.
So, as I'd like to make it working now and worry about security later, I clear iptables with
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
Hacky, I know, but it makes VNC working.
Then, no matter whether I do
/sbin/service iptables save
iptables-save > /etc/sysconfig/iptables
previous, non-permissive rules are restored, and thus, I can't get VNC to connect.
So, what gives? What's the problem?
For further reference, here are both iptables:
The 'unclean' one, the one that gets restored, and one which I don't want:
and the 'clean' one, the one that appears in iptables config file after iptables save, and the one that gets deleted after each reboot: