HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Problems running whfc via putty - tunnel



From my understanding.. you can't do FTP.. over SSH..

Have you looked at www.stunnel.org I use that.. but mine is a pure linux to linux envi.. but I have used stunnel for MS SQL before.. and works like a charm..

However I would recommend that you re-check all your configs.. as your last couple of lines in the post are confusing..


Stefan Schilling wrote:


Guten Tag Steven Kurylo,

Am Montag, 30. August 2004 um 15:52 schrieb Steven Kurylo:

Hello!


I´ve set up putty to tunnel the traffic on localhost (127.0.01) to the
linux box (L:4559 debian.wg:4559).



in fact, "PASSIVE" is already activated. There is another way of transferring the data: you can obviously try to use the hylafax - internal ftp - programm (see doku of whfc). But that didnt work, either.


Did you forward the other ports FTP is using too? I don't know what they are off hand, but you'll have to forward more than 4559.


I´m now also forwarding Ports 20 + 21 (ftp-data, ftp).


Assuming the hylafax machine is on the public internet, I would assume that since hylafax thinks 4559 is on the localhost (because of the port forwarding) and the port ftp ends up using is coming through the public internet, the connect fails. I've never tested that, but I think its a reasonable assumption. Either forward everything or forward nothing.


The thing now is, who is initiating the data connection? Is it whfc,
which has connected successfully and now wants the data, too? - This
should work.
Or is it the hylafax-server, which has just noticed, that someone has
logged on successfully and then tries to send the ftp-data to the
address where the login came from. This MUST fail, as I don´t have an
IP-Address, that the server knows. The only way would be a VPN, where
I get a IP, that could be entered and routed from the server to the
client.
Thing is, the server is only semi-open to the net; you need to connect
via ssh first, otherwise anybody could connect and use the server on
my cost, which is something that I do not want.

I havent found something describing this in the faq or the manual (or
at least I couldnt find it).
Can someone help?

Thanks!
Stefan




-- Umer Farooq Octadyne Systems umer@xxxxxxxxxxxx +1 (519) 772-5424 voice +1 (519) 635-2795 mobile +1 (208) 275-3824 fax


LOOKING FOR A USED CAR IN IOWA VISIT: http://www.IowaMotors.com



WARNING: ------------------------------- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind.


____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions