Iptables list

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
+ (text/html)
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Marco Savo
Dátum:  
Címzett: Main PLUG discussion list
Tárgy: Iptables list
Hello,
configuring iptables rules,
how I can find out if one port number I want to use is already in use?
example:

$IPTABLES -t nat -I zone_wan_prerouting 1 -j ACCEPT --protocol udp --dport
${UDP_PORT} --destination localhost
$IPTABLES -t nat -I zone_wan_prerouting 1 -j ACCEPT --protocol tcp --dport
${TCP_PORT} --destination localhost
$IPTABLES -t nat -I zone_wan_prerouting 1 -j ACCEPT --protocol tcp --dport
${TCP_HOST_PORT} --destination localhost

How I can check if these ports (UDP_PORT TCP_PORT TCP_HOST_PORT) are in use
from another application?


--
'The Magic Is In the Movement'

Marco Savo
SW Engineer

882 East Glenn St.
Tucson, AZ 85719
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss