dchristl / macless-haystack

Create your own AirTag with OpenHaystack, but without the need to own an Apple device
GNU General Public License v3.0
356 stars 58 forks source link

Expose macless-haystack to the internet #92

Closed MeierAlex closed 4 months ago

MeierAlex commented 4 months ago

Is there anything you should be aware of apart from activating user name and password protection? Is there any experience with this?

Best regardss. Alex

Systm21 commented 4 months ago

You should use a Reverseproxy or an Cloudflared Argotunnel to add another layer of Security.

dchristl commented 4 months ago

Hello,

you should use at least SSL encryption, i.e. with Let's encrypt

Regards, Danny

MeierAlex commented 4 months ago

I tired exposing the interface to the internet by forwarding port 6176, setting up SSL (like described in the FAQ) and enabeling authntification. Now I can not reach the server from the internet. When I try to reach "my-server-name:6176" I just get a timeout. An I doing something wrong or did I forget to setup smth ? I also tired this using nginx proxy manager with the same result.

dchristl commented 4 months ago

Have you used https instead of http? Can you reach the url in your browser? You should see a website with content "Nothing to see here"

MeierAlex commented 4 months ago

I used https and tried to reach the website resulting in a timeout.

dchristl commented 4 months ago

What does the log say? Is it reachable in general on your server (with https://localhost:6176)?

MeierAlex commented 4 months ago

Locally is everything reachable. I will post the log later. As soon as I set up port forwarding it is no more reachable locally. But I think this is die to the occupied port used for port forwarding?!

MeierAlex commented 4 months ago

Problem solved - I had a problem with setting up subdomains. Direct port forwarding did work when I restarted the macless haystack server after setting up the forwarding in the router.