Discover How To Secure My Network HOWTOs
Setting up port redirects in Linux with ncat

Ncat is essential for Linux network debugging and troubleshooting, and this powerful tool delivers a "useful, but potentially dangerous, option for creating a port redirection link". Learn how to set up port redirects with ncat in this tutorial.
As you know from my previous two articles, Linux troubleshooting: Setting up a TCP listener with ncat and The ncat command is a problematic security tool for Linux sysadmins, netcat
is a command that is both your best friend and your worst enemy. And this article further perpetuates this fact with a look into how ncat
delivers a useful, but potentially dangerous, option for creating a port redirection link. I show you how to set up a port or site forwarding link so that you can perform maintenance on a site while still serving customers.