rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Night_Raven on February 11, 2006, 08:38:24 AM

Title: HFS needs real IP?
Post by: Night_Raven on February 11, 2006, 08:38:24 AM
A friend of mine is part of a big LAN (with IP's 192.168.xx.xx), DHCP servers is used to assign each of the computers' IP addresses (static). Question is can HFS be used on a pc which is part of such LAN or must the user have a real IP?
Title: HFS needs real IP?
Post by: ~GeeS~ on February 11, 2006, 10:00:40 AM
HFS works fine in a LAN. (192.168.x.x is a real IP in a network!)
Title: HFS needs real IP?
Post by: Night_Raven on February 11, 2006, 03:12:00 PM
Yes, WITHIN the network I think it would work fine. Can HFS be started on such a PC and be accessable from OUTSIDE of this network, any PC in the world (as if it uses real IP). Or it would work only within this LAN?
Title: HFS needs real IP?
Post by: Anonymous on February 11, 2006, 03:28:02 PM
If you want to access HFS from the internet you have to use your WAN IP.
Title: HFS needs real IP?
Post by: Night_Raven on February 11, 2006, 04:00:46 PM
When teh WAN IP is found, must it be specified in HFS as custom?
Or just leave default settings and give the WAN IP to other users instead?
Title: HFS needs real IP?
Post by: Anonymous on February 11, 2006, 04:18:36 PM
Give the WAN IP to others and have them try it.  Let us know the results.
Title: HFS needs real IP?
Post by: ilovejedd on February 11, 2006, 06:04:23 PM
Hmm... seems like most ISPs block inbound connections to port 80 so maybe you can use a different port and set your router to forward that port to the PC running HFS. Address would be: http://WANIP:port/
Title: HFS needs real IP?
Post by: Anonymous on February 11, 2006, 07:24:23 PM
If you use a firewall permit internet and server access for HFS *and* the port it is using.
Title: HFS needs real IP?
Post by: Night_Raven on February 11, 2006, 10:06:33 PM
I'll try and give as much details as possible although I already said most of them:
Things are a bit screwed  as normally this WAS a LAN network but now the LAN communication is off (NetBIOS) so no lan and no real IP. Each PC has a static IP assigned by an DHCP server, which also asigns gateways and other stuff. It seems that IP2.exe and HFS both see the same WAN IP but Ip2.exe does not see the WAN hostname. My friend does not hav a separate router. He has ZoneAlaram which is configured to permit all actions of HFS so that shouldn't be a problem. He tried his pc's ip (192.168.x.x) and the WAN IP both with port 80 and other ports - it doesn't work. I can't open his http server. Is there someway to (lame explanation) tell the WAN (gateway) to pass/forwared a given connection onto a certain IP without having to talk to the ISP to explain what we want to do. There's nothing illegal, just the ISP wouldn't just reconfigure their gateway for one person. In other words can it be done via a software or something.
I see it like this. If my friend tries the 192.168.x.x IP nothing happens because I can't establish a DIRECT connection due to this gateway.
If he tries the WAN IP, nothing happens again because there is no http server there.

If IT TRULY ISN'T POSSIBLE, he'll have to settle for exchange within the "LAN". If at least that it works, that is.
Title: HFS needs real IP?
Post by: Anonymous on February 11, 2006, 10:44:52 PM
Night Raven

If I'm reading your post correctly there is no more lan involved.  Right?  And if there is no lan involved you don't need a router connected so port forwarding isn't an issue.  I'm also assuming that you and your friend are the administrator's of your computers.  From reading your post it sounds like your friend's computer is the one running HFS and you are the one that is trying to connect to it.

Tell your friend to use the IP that HFS says to use - menu/IP and to put that in the HFS address bar and also select port 80 if that is the port he wants to use (which is the HFS default).  Run the HFS self test.  The test should result in a pass and you are ready for HFS internet communication.  Your friend will have to give you the IP address that his HFS says to use and that is the address you will use to connect with your friends HFServer.
Title: HFS needs real IP?
Post by: rejetto on February 12, 2006, 01:56:14 AM
no, it is always a LAN
night_raven, if you are trying to access a PC in a LAN, but you are not in that LAN, then you have to configure the gateway.
if you can't do that for any reason (maybe you don't have access to router configuration), then the only thing you can do AFAIK is to set up a VPN.
Title: HFS needs real IP?
Post by: Night_Raven on February 12, 2006, 08:48:36 AM
Oh, damn, this one slipped my mind. VPN is used for internet supply. One can't brows the internet unless he has connected to a certain PC via VPN. Some while ago if one hasn't NOT connected, he had only the LAN to work with. Now without the VPN connection is like being a stranded computer.

Is making a VPN connection the solution if it's also being used to connect to the internet?
If it's possible to have more than one VPNs conncted at once, then how exactly should it be configured between him and me?

Yeah, the ISP is a monopolist and is trying make its services the only possible ones. On top of that, most of them suck but that's subject of a different discussion so I'll stop here.
Title: HFS needs real IP?
Post by: rejetto on February 15, 2006, 03:25:37 AM
Quote from: "Night_Raven"
Is making a VPN connection the solution if it's also being used to connect to the internet?
why not
Quote
If it's possible to have more than one VPNs conncted at once, then how exactly should it be configured between him and me?
if he is in the same VPN, then just give him your address in that network
Title: HFS needs real IP?
Post by: Night_Raven on February 15, 2006, 07:40:14 AM
That's just it, we're not in the same network at all. He's in Bulgaria and I'm in Germany.
Is a VPN connection still possible?
Title: HFS needs real IP?
Post by: rejetto on February 15, 2006, 08:05:46 AM
sure it is
Title: HFS needs real IP?
Post by: Mr. Anon on February 16, 2006, 02:39:02 AM
If you have problems with your VPN, you may also try this little software called Hamachi. It helps a lot when it comes to NAT to NAT. http://www.hamachi.cc/
:)