I want to run a dynamic dns program that publishes my address upon connect.
Therefore I have to setup a firewall rule to allow these packets.
I do that with the following commands:
ipchains -A op_add -i ippp+ -d 0/0 2345 -j ACCEPT -p tcp
ipchains -A ip_add -i ippp+ -s 0/0 2345 -j ACCEPT -p tcp ! -y
After the dyndns.pl script has been run I want to remove the rules created
previously. I am facing the problem that I don't know the rule number in
the chain and therefore can't remove it.