Valery Reznic wrote:

[ snip ]
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/forwarders.html
I saw this link before.
Or I don't understand how can I use this HOWTO or
I
don't explain myself plain :( .

Let me try again.

There is computer A, Firewall F, and another linux
box
B

A ----> F ----- B
How about:

- On B, do ssh [EMAIL PROTECTED] -L80:localhost:80 -Nf
- Next, any connections to B, port 80 will be
forwarded to port 80 on A.
- Of course, this requires SSH open on the FW on A,
allowing incoming
  connections.

Another option, done solely from A is (better suits
your requirements, I
think):
- On A, do ssh [EMAIL PROTECTED] -R80:localhost:80 -Nf
Thank you, it did thet trick.
I just don't realized before, that 'ssh -R' create
prot forwardind for everything, I was thinking it can
be used just for ssh itself.
Port forwarding simply does... "port forwarding" :-) , regardless of protocol used (above TCP level), HTTP in our case. A very powerful tool in your disposal, that's for sure. You can do magic or raise havoc(...) with it.

Boaz.
Valery.


Try with caution - I'm not 100% sure of the above.
Boaz.

Firewall allow only outgoing connection from A.

Apache run on the box A.
I'd like to do port forwarding (or something), so
http://B...
will work, accessing apache on box A.

It's looks for me, that this HowTo describe how do
port forwarding if you got incoming connection.
But I haven't.

Am I miss something ?
Valery


Peter


____________________________________________________________________________________
Now that's room service!  Choose from over 150,000
hotels
in 45,000 destinations on Yahoo! Travel to find
your fit.
http://farechase.yahoo.com/promo-generic-14795097


=================================================================
To unsubscribe, send mail to
[EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g.,
run the command
echo unsubscribe | mail
[EMAIL PROTECTED]


=================================================================
To unsubscribe, send mail to
[EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g.,
run the command
echo unsubscribe | mail
[EMAIL PROTECTED]





____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to