-   Linux - Networking (
-   -   Ports listening? (

dareino 03-30-2004 08:17 PM

Ports listening?
When I open/forward a port and I start the Application, shouldnt I see the port in "listening" stage? I currently have a prog running that utilizes 4661 thru 4672 (emule) but I dont see it when I run netstat.....
Linux boxes access the Net, my Win XP box sits behind it running emule..

target prot opt source destination
DNAT tcp -- tcp dpts:6881:7000 to:
DNAT tcp -- tcp dpts:4661:4672 to:
DNAT udp -- udp dpt:4711 to:
DNAT tcp -- tcp dpts:10240:20480 to:
DNAT udp -- udp dpt:41170 to:

root@server:~# netstat -nluta
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0* LISTEN
udp 65208 0*

eccles23 03-30-2004 11:59 PM

nope... because there is no service running on the server that's listening on that port...

the iptables filtering happens at a very low level... it is monitoring the packet traffic and as soon as it sees headers that contain that port info, it changes it and sends it on its way again...

so netstat wouldn't know anything about it ... there'd never be a port opened on the server for it because there doesn't need to be - it's being redirected to another computer

dareino 03-31-2004 08:40 AM

thanks man

All times are GMT -5. The time now is 09:25 PM.