/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
J. Mark Noworolski <[EMAIL PROTECTED]> wrote:
>
> In short, I'd like to be able to connect to port 6119 on computer X,
> and have computer X automatically re-route my data by connecting to
> port 6112 on computer Y, making it look as if the data came from
> computer X.
A perfect application for ipportfw.
In 2.0:
ipportfw -a -P tcp -L Xhost 6119 -R Yhost 6112
In 2.2:
ipmasqadm portfw -a -P tcp -L Xhost 6119 -R Yhost 6112
> I've been studing ipchains, ipportfw, and ipautofw trying to figure
> out how to do this and am stumped.
I'm not sure why you're stumped. The ipportfw documentation should
stand right out and show you that this is the way to do it. How could
it be made clearer?
Perhaps you really did try this, and then you tried to test it from
behind your masq firewall, and you found that it failed. That is indeed
what will happen. The connection *MUST* come from outside of your masq-
firewalled network.
> On a related note, is there documentation somewhere on how to write
> helper modules for masquerading (ip_masq_raudio, et al)?
I've never found any. :(
--
[EMAIL PROTECTED] (Fuzzy Fox) || "Nothing takes the taste out of peanut
sometimes known as David DeSimone || butter quite like unrequited love."
http://www.dallas.net/~fox/ || -- Charlie Brown
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/