A while ago, I setup an iptables rule to forward port 53 on my computer to port 5553. Now I want to delete it, but I cannot seem to figure out how to get it to stay deleted after reboots. I do not have iptables-persistent installed. What config file do I need to edit to fix these?
1 Answer
I found the problem. There was a line in /etc/rc.local
that added the rule on boot.
iptables-persistent
installed, then it could be very difficult to figure out the cause of how it's readding the rules. Do you useufw
or something else?