2006/05/30

netcat to emulate servers behind a firewall

I need to test request to POP, SSH, WEB and SMTP services behind a firewall could get through. The services are not started up yet. Then how could I test the firewall connectivity.

My colleagues remind me of netcat. Netcat can listen on a particular port and if a PC is running with netcat, it can successfully emulate a server. In Windows mode, the command is something like :

nc -l -p 25 -t -e cmd.exe

Really handy and powerful !

No comments: