rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: dk on August 16, 2012, 10:00:21 PM

Title: everything works..BUT how do u manage file locally over lan (ip mismatch in URL)
Post by: dk on August 16, 2012, 10:00:21 PM
1st post...
Hi to everyone & thanks for pushing this great piece of open source software!

 i'll try to keep it short:

the Network setup:
Router from ISP with external Wan IP XXX.XXX.XXX.XXX
behind of it PFsense Box (dhcp/firewall/etc.)
i can upload & download successfully, also from outside/mobile client(android)
port forwarding works fine.(although self test is negativ, not yet sure why)
anyway..

my HFS server is on my local lan on 192.168.1.11
but the machine i access iNet from is 192.168.1.21

Now i am wondering how do you get to the correct "outside" URL over the local http lan side? (to paste in forums)

i can connect via 192.168.1.11:x but when i copy the link obviously the url will contain the local ip and not the XXX.wan ip??!!

thanks,
daniel




Title: Re: everything works..BUT how do u manage file locally over lan (ip mismatch in URL)
Post by: rejetto on August 17, 2012, 12:11:26 AM
instruct HFS to get the "external address" (that is, the WAN ip),
then it will give you the correct address by default.

To get that address to work correctly you'll have to adequately configure your router (and any other machine that's in between).