Groups > RedHat > Red Hat Linux > Re: how to delete some iptables items




Re: how to delete some iptables items

Re: how to delete some iptables items
Fri, 11 Apr 2008 15:29:20 +020
2008/4/11, Y Uanlux <yuanlux@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@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

I edit iptables file in /etc/sysconfig.


-- 
Antonio Montagnani
Skype : antoniomontag
Post Reply
about | contact