On Fri, 18 Nov 2005 21:21:12 +0000, Steven Jones wrote:
> An IPtables rule was created in one of my boxes using the following
> command:
>
> /usr/sbin/iptables -t nat -D PREROUTING 1 -i eth0 -p udp --dport
> 4088:4090 -j DNAT --to-dest 192.168.0.4
>
> How can it be deleted? No matter what I do, iptables -L keeps reporting
> this rule as still available.
First do iptables -L and find out what line # it is that you want to
delete. Remember all chain rules start with the number 1. Then
iptables -D nat <rule #>
This will delete that line. After you are sure that is what you wanted to
delete save the new rule set.
I'm not sure how you load your rules so you are going to have to make sure
how you load them is fixed too.
--
Regards
Robert
Smile... it increases your face value!
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----