how to delete some iptables items

Antonio M antonio.montagnani at gmail.com
Fri Apr 11 13:29:20 UTC 2008


2008/4/11, Y Uanlux <yuanlux at gmail.com>:
>
> Hi
> I followed some online instruction and set iptables rules (as below)  from
> iptable -L -t nat.
> DNAT       tcp  --  anywhere             anywhere           tcp dpt:119
> to:192.168.1.4:119
> DNAT       udp  --  anywhere             anywhere           udp dpt:446
> to:192.168.1.7:446
> DNAT       tcp  --  anywhere             anywhere           tcp dpt:446
> to:192.168.1.7:446
>
> DNAT       tcp  --  anywhere             anywhere           tcp dpt:446
> to:192.168.1.4:446
>
> I want delete the last item. What's the command line to do this using
> iptables?
>
> thanks
>
>
> Y
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

I edit iptables file in /etc/sysconfig.


-- 
Antonio Montagnani
Skype : antoniomontag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080411/cd631fd4/attachment-0001.htm>


More information about the fedora-list mailing list