Test firewall rule without a service on destination port
Here is a litte perl-script that accepts incoming connections on a configurable TCP port.
After you start the script on the destination host you can simply telnet it for testing.
I tested this on:
- RedHat Enterprise Linux 5.5
- Windows Server 2008 (ActivePerl 5.12)
Hope it helps,