On Mon, 25 May 1998, Greg Estabrooks wrote:

> >I've got a Linux box which is *not* a gateway machine, and I'd like to use
> >some of the fw features. Essentially, what I want is for a Starcraft
> >player (say) to connect to the Linux box, which would then bounce them on
> 
>  Hmmm try looking for a program called redir. It will watch for connections
> on a specific port and then forward it off to the ip/port of your choice.
> I've used it to redirect telnet sessions to my home machine a few times :)

Ah, yes, I've looked at that (and its cousin, udprelay). The problem is,
is there's no way to cope with packages that have a different receive
port/protocol from their sending port/protocol. For example, battle.net
sends out a packet on, er, I think 112/tcp, and receives a packet on
6112/udp; the problem is then how to know where to send the udp packet
back to, as udprelay has no existing connection to forward the packet to
internally. As this is going to be supporting 30+ users, it's not really
feasible to do a direct mapping, unless there's some trick I'm missing?
:-)

> Another alternative would be ipportfw which would require compiling in a
> portforwarding patch to the your kernel in order to use.

Yeah, I'm running a dev kernel, and the ipport/autofw patches are in the
kernel now. Unfortunately, they're gateway level services, which is the
problem. My C coding isn't anywhere near the level required to rip them
out and make them into a standalone service (I'm an x86 asm programmer by
trade), so that's out, too :-/

> You can get redir  as well as ipautofw and ipportfw source @
> http://users.andara.com/~greyfoxx/linux/

Oooh, another andara user... :-) Have you got a nice long ipfwadm script
to deny access to your internal services too? ;->

Cheers... Dop.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to