Iptables list

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Marco Savo
Date:  
To: Main PLUG discussion list
Subject: 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