This is a discussion on RFE entries in IPTABLE within the Linux Networking forums, part of the Linux Forums category; If I examine my iptables (iptables -vL) entries, I see the following: 0 0 ACCEPT tcp -- any any anywhere anywhere ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
If I examine my iptables (iptables -vL) entries, I see the following:
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpts:5000:rfe 0 0 ACCEPT tcp -- any any anywhere anywhere tcp spts:5000:rfe If I vi the iptables (/etc/sysconfig/iptables), I see the following: -A INPUT -p tcp -m tcp --dport 5000:5002 -j ACCEPT -A INPUT -p tcp -m tcp --sport 5000:5002 -j ACCEPT If I add a new entry into the iptables like: -A INPUT -p tcp -m tcp --dport 2000:2002 -j ACCEPT the LIST of the iptables shows: 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpts:2000:2002 How did the RFE get into the orginal iptables? |
|
|||
|
Rob Simac <rsimac@yahoo.com> wrote:
> If I examine my iptables (iptables -vL) entries, I see the following: > > 0 0 ACCEPT tcp -- any any anywhere > anywhere tcp dpts:5000:rfe > 0 0 ACCEPT tcp -- any any anywhere > anywhere tcp spts:5000:rfe > > If I vi the iptables (/etc/sysconfig/iptables), I see the following: > > -A INPUT -p tcp -m tcp --dport 5000:5002 -j ACCEPT > -A INPUT -p tcp -m tcp --sport 5000:5002 -j ACCEPT Hint: invoke "iptables -nvL" and the rfe is gone again. :-) man iptables, lookup "-n" option, grep 5002 /etc/services HTH Ciao, Horst -- »When pings go wrong (It hurts me too)« E.Clapton/E.James/P.Tscharn |
|
|||
|
Thanks, Horst... You're the Best. That answered my question perfectly.
Ciao, Rob. Horst Knobloch <horschti2@gmx.de> wrote in message news:<bksnqu$1ukt$1@ulysses.news.tiscali.de>... > Rob Simac <rsimac@yahoo.com> wrote: > > > If I examine my iptables (iptables -vL) entries, I see the following: > > > > 0 0 ACCEPT tcp -- any any anywhere > > anywhere tcp dpts:5000:rfe > > 0 0 ACCEPT tcp -- any any anywhere > > anywhere tcp spts:5000:rfe > > > > If I vi the iptables (/etc/sysconfig/iptables), I see the following: > > > > -A INPUT -p tcp -m tcp --dport 5000:5002 -j ACCEPT > > -A INPUT -p tcp -m tcp --sport 5000:5002 -j ACCEPT > > Hint: invoke "iptables -nvL" and the rfe is gone again. :-) > man iptables, lookup "-n" option, grep 5002 /etc/services > > HTH > > Ciao, Horst |