View Single Post
Old 08-25-2006, 12:00 PM   #9 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,694
redhead is on a distinguished road
Quote:
tcp dpt:webcache
Theres your port and the protocol beeing used.. If you like to see it as it's port value, you could try adding the -n switch.
Use the -v switch to see a more elaborate output, like which interface it's bound to, and how many packages the rule has captured.

By the way the dpt is shorthand for destination port, and as we all know, webcache is port 8080, so now any connection on port 8080 comming to your EXTERN_NIC will be redirected to port 8080 on the machine located at 172.17.0.49.

But repearting the rule is redundant, since the first one will capture any match befor even reaching the second one...
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote