Following Qubes documentation on firewall
https://www.qubes-os.org/doc/qubes-firewall/, I tried to put some basics
iptables rules into /rw/config/rc.local in an AppVM but they don't persist
after reboots :
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
When I type "sudo iptables -L", they don't appear after rebooting the VM, I
have the same rules as before, it looks like the script isn't launched :( This
is weird because the file is executable ! ("sudo chmod +x rc.local"). Also I
tried to add sudo before every line but it didn't change the outcome.
Any suggestions are welcome !
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.