-   Linux - Security (
-   -   iptables configuration (

props666999 08-27-2005 11:07 AM

iptables configuration

i cannot understand something thereofore clarification is
required and would be really appreciated.

I've got all the chains (input,forword,output) by default to drop

to use amule i have opened 4662 tcp and udp

when i go to and scan my ip everything is stealthed
when emule setting is commended hence does not work

but when amule hall works reports all my ports
closed rather than stealthed as before and 631 and 113 ports are
reporting open.

the rule to amule function properly is as follows:

IPTABLES -A INPUT -p tcp --dport 4662 -j ACCEPT
IPTABLES -A INPUT -p udp --dport 4662 -j ACCEPT

ok i can understand 4662 to listen open but why the rest of them


Mara 08-27-2005 02:59 PM

631 is ipp (internet printing - printer sharing), 113 is ident. Standard but should not be there is they're blocked (check it twice). See yourself if they're blocked. Comment out the rule to accept connections on 'lo' interface (if you have such one) and run
telnet 113
and later
telnet 631
What do you get from the commands? Error is a good thing.

props666999 08-27-2005 05:42 PM

i get the followings


telnet 113
Connected to
Escape character is '^]'.


telnet 631
Connected to
Escape character is '^]'.

Mara 08-28-2005 02:32 PM

It means they're open. That's not good. Run 'netstat' and see which services have open ports. Do you have cups or samba?

All times are GMT -5. The time now is 11:34 AM.