FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Home » Security » Port Redirector

Port Redirector

Port Redirector can you please suggest me any tiny and good port redirector for linux and unix like oses ? so that when I connect to the box to a given port it redirects my connection to another box and port that I can chose ? thanx a lot

Port Redirector

January 22nd, 2007

Port redirectors are very cool little programs.. They basically redirect data from one port to another, mostly used for hacking

can you please suggest me any tiny and good port redirector for linux and unix like oses ? so that when I connect to the box to a given port it redirects my connection to another box and port that I can chose ? thanx a lot ..


Maybe something like samplicator, socat, nc, vtun? There is a really cool tool out there that is a socket file, like mysql.sock, but it is really a redirector. I use it to connect remotely to mysql servers, when they do not allow remote connections. Ya datapipe is solid also. Samplicator is UDP. socat is probably the best.

socat is far and away the best, as a port redirector basically it's netcat for ports. i use it for redirecting ssh session through tor for reasons best known to myself.... i.e started tor (port 9050) socat tcp4-listen:22,Fork socks4a:127.0.0.1:dest.ip.in.here:22,socksport:9050 then ssh to 127.0.0.1 and it'll bounce your ssh connection via tor

datapipe.c could make it


http://www.askapache.com/security/port-redirector.html#comments

Reader Comments

  1. bish ~January 22, 2007 @ 4:36 pm
    Have you overlooked simple xinetd? service unlisted { disable = yes type = UNLISTED port = 5500 socket_type = stream protocol = tcp wait = no user = root redirect = 192.168.4.120 5500 } when it's not disabled (think: chkconfig vnc-listen-redir on) it will redirect incoming connections on the outside to port 5500 on the internal machine 192.168.4.120 . In that example it uses tcp, but I've seen it with UDP as well. Best of all? It's already installed on many machines, at least most linux boxes -- even the tiny openwrt comes with xinetd built-in. Gluck.

Add Comment!

Leave a Reply

Your email address will not be published.


Google +

It's very simple - you read the protocol and write the code. -Bill Joy

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

Site Map | Contact Webmaster | Glossary | License and Disclaimer | Terms of Service |

↑ TOPMain