Surely there's a way to forward ports (and I don't mean ssh)

rharder

Do not read this sign.
Does anyone know of a little utility to listen on one port and forward to another machine at another port? I know ssh does something like that, and I use that all the time, but it's not what I'm looking for right now.

Of course netcat kind of does that too, but only for one instance of a connection.

You know, I should be able to type something like "portforward -l 3333 www.apple.com 80" or something like that.

-Rob
 
I was reading through the man pages for ipfw and it appears you can do it with the "pipe" command. You might want to take a look there
 
pipe...I'll look into it. I'd like to avoid using the kernel-level firewall. I'd prefer a simple process that kept forwarding until I killed it.

I thought the linux tool portfwd would do it, but A) it doesn't compile on OS X and b) I think it's more of a daemon-style app.

Someone suggested I post at macfora.com, so I guess I'll give that a shot too. Don't know that I've ever used them before...

-Rob
 
I see what you mean now, I would actualy love something like that as well. I'll have to keep looking
 
You also might want to take a look at tcpwrappers. It does all sorts of redirection and other fun stuff.

Brian
 
Back
Top