0

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?

3
  • All rules or just the port forward rule? Dec 11, 2017 at 20:23
  • 2
    How did you add it in the first place? If you don't have iptables-persistent installed, then it could be very difficult to figure out the cause of how it's readding the rules. Do you use ufw or something else?
    – Thomas Ward
    Dec 11, 2017 at 20:23
  • 1
    "A while ago, I setup an iptables" You stored that rule by creating a file and have that file load at some point? I would asssume? So remove/alter that file.
    – Rinzwind
    Dec 11, 2017 at 21:03

1 Answer 1

3

I found the problem. There was a line in /etc/rc.local that added the rule on boot.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .