Re: Deleting a rule from a DNAT chain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Grant Taylor wrote:
> iptables -t nat -D PortForwarding_3191 <rule number from the top of the 
> list starting with 1>

That is correct.  

To simplify things, first open a large xterm and do:

	iptables -t nat -L PortForwarding_3191 -n -v --line-numbers
	
and look up the rule number.  Then use:

	iptables -t nat -D PortForwarding_3191 <rule num>

Just make sure that you're deleting that from the startup scripts or
whatever it is that loads the rules when you reboot the machine.


Toby

-- 
Love(n): The delusion that one woman differs from another.
						H.L. Mencken


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux