Open patriotzhou opened 8 years ago
You can definitely use it with a router. You can add your Mac's IP address to the router's DMZ so it acts as if it is connected directly to the internet. You can always forward ports to and from your Mac using router settings.
So if we just get the public IP address of the mac while it is connected through a router and configure the OSXClient using that, it will not work?
The "public" IP address of the Mac is a private IP address because it is connected to your LAN Network or router. That IP will not work. After you add you Mac to your router's DMZ, you configure your client with your router's out facing or WAN IP.
Or if your router supports it, you can set up a port forwarding rule for PieMessage's port(s) to your private IP address. As above, you'd configure your client with WAN IP address (router's external IP address). This way you aren't exposing all of your Mac's ports like you would in the DMZ.
All you need to do is setup forwarding on port 5000 from your firewall's public IP to your Mac's IP.
Another option is ngrok: https://ngrok.com/
Can we use Mac behind the router/firewall?
Thanks.