INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: badger on January 16, 2019, 01:46:47 pm

Title: Panel connection from outside network (VPN installed on router)
Post by: badger on January 16, 2019, 01:46:47 pm
My VPN provider says this should work, but no joy so I thought I'd ask here.  My public IP stays the same unless I have to reconnect to the VPN for some reason. I've opened the port (in my case 52196). Outside connection (via MC access key) works great if VPN is off, but when I turn it on no joy.  I've tried re-registering for a new access key while the VPN is on, but still doesn't work.  Thoughts? Maybe this won't work with VPN on the router?
Title: Re: Panel connection from outside network (VPN installed on router)
Post by: JimH on January 16, 2019, 01:50:06 pm
Firewall?
Title: Re: Panel connection from outside network (VPN installed on router)
Post by: badger on January 16, 2019, 01:59:04 pm
Hmmm..  I'll check.
Title: Re: Panel connection from outside network (VPN installed on router)
Post by: badger on January 16, 2019, 02:15:43 pm
There is a firewall, but when I did an open port check it said 52196 was closed when the firewall was either set to disabled or enabled.  I guess I need to figure out how to open the port 1st and then it should work.  Thanks.....
Title: Re: Panel connection from outside network (VPN installed on router)
Post by: RoderickGI on January 16, 2019, 06:20:05 pm
So you have a VPN installed on the router. Which means the router is running a VPN End Point, correct?

Which means that any PC connected via the VPN to the router End Point is effectively on your home LAN.
Which means that the PC connected via the VPN to the router End Point should have an IP address supplied by the DHCP server on your LAN, in the address range used on your LAN. Does it?

You should be able to ping the PC running MC just as if you are on your LAN, using a Windows Command windows and the simple "ping 192.168.xxx.xxx" or whatever address range your DHCP server uses. Can you?

If the above conditions work, try accessing Panel via the MC Server LAN IP Address directly, rather than using the Access Key method. Something like;
http://192.168.xxx.xxx:52196/Panel/#/browse

Note:
You don't need to open the MC Server port if you will always be using the VPN connection to access Panel.
I'm pretty sure Panel uses more than just one port number anyway. But I guess if it works without the VPN and 52196 opened, and forwarded to the MC Server I presume, then Panel must be opening any other ports required from within your LAN, just like any request to the internet from inside the LAN opens ports as required for the requesting process.
There will be a firewall on the MC Server as well as on the router. But if you can connect to Panel while connected to your LAN at home, then that firewall should also allow you to connect to Panel when using the VPN.
Title: Re: Panel connection from outside network (VPN installed on router)
Post by: AndrewFG on January 18, 2019, 03:13:29 am
As a general rule Panel connects on port 52199 (not 52196)..
Title: Re: Panel connection from outside network (VPN installed on router)
Post by: RoderickGI on January 18, 2019, 07:26:56 am
I thought that issue was fixed, and other ports could be used for Panel now. But then, I can't see any record in the Release Notes of the change, so maybe it hasn't been fixed yet.

So, try 52199 then badger.
Title: Re: Panel connection from outside network (VPN installed on router)
Post by: Scobie on January 18, 2019, 04:43:15 pm
When you say your VPN provider said it should work does that mean they have opened and / or enabled port forwarding over the VPN or just that this functionality is available?

You still may need to configure this on a VPN interface if they have not already.