|
#1
| ||||
| ||||
| Surely there's a way to forward ports (and I don't mean ssh) 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
__________________ There are only 10 kinds of people in the world: Those who understand binary, and those who don't. |
|
#2
| ||||
| ||||
| i'm guessing that you could do something like that with ipfw...
__________________ holmBrew =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Great Web Hosting: www.elfon.com PowerBook(Prismo) 400Mhz G3 266Mhz G3 MT Gossamar 400Mhz G3 Yosemite 800Mhz G4 Quicksilver (my work box) All running Mac OS X 10.2.4 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
#3
| ||||
| ||||
| 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 |
|
#4
| ||||
| ||||
| 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
__________________ There are only 10 kinds of people in the world: Those who understand binary, and those who don't. |
|
#5
| ||||
| ||||
| I see what you mean now, I would actualy love something like that as well. I'll have to keep looking |
|
#6
| ||||
| ||||
| You also might want to take a look at tcpwrappers. It does all sorts of redirection and other fun stuff. Brian
__________________ UNIX is simple and coherent, but it takes a true genius (or a programmer at any rate) to understand and appreciate its simplicity -- Dennis Ritchie |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to copy an application over SSH | DominikHoffmann | Unix & X11 | 4 | December 31st, 2002 06:05 PM |
| can't tunnel my imap with ssh | Shaq fu | Mac OS X System & Mac Software | 8 | November 15th, 2001 05:48 AM |
| What ports should be open? | theCaptain | Apple News, Rumors & Discussion | 2 | October 31st, 2001 01:29 AM |
| Open ports... | holmBrew | Mac OS X System & Mac Software | 2 | July 20th, 2001 10:31 PM |
| How do I Close these ports? | error | Apple News, Rumors & Discussion | 1 | June 20th, 2001 07:14 AM |