10 12 月, 2021 11:56 下午 #4832crumbag參與者
I have a somewhat tricky situation whereby 2 devices needing to connect are on different subnets. I’ll try explain in detail my current network topology.
PC (spacedesk server) – 10.10.69.8/24 (Static IP)
iPad (spacedesk iOS client) – 10.10.70.14/24 (DHCP assigned)
I have a firewall application (Kaspersky) on my PC as well as a physical firewall (pfsense) controlling all my subnet traffic and rules.
I added a firewall rule for my iPad’s subnet to allow TCP Port 28252 direct to my PC. Looks like this [ Allow TCP 28252 from 10.10.70.0/24 to 10.10.69.8]. I disabled the application firewall (Kaspersky) for testing purposes so it wouldn’t cause me problems with the rules configured in pfsense.
The PC and iPad can ping each other. I also have an app called Touch Portal on the iPad which allows me to send hotkey commands to my PC, which works fine after adding a similar rule in pfsense, only this time adding 2 ports required by Touch Portal. So I know I am configuring the firewall correctly, but for some reason when I manually add the server IP address in the iPad spacedesk app, it gets stuck on “Manually adding IP: 10.10.69.8. IP validation in progress”.
Are there any other ports I need to add to make this work other than 28252?
Thanks,15 12 月, 2021 7:29 下午 #5005crumbag參與者
Bump… Anyone with any ideas?20 12 月, 2021 5:34 下午 #5128Nachtalb參與者
Bump – had similar problem when being connected to my home network via VPN which is in a different subnet and then more or less the same problem as OP.27 12 月, 2021 11:35 上午 #523628 12 月, 2021 1:26 上午 #5242
28252 is the only port that spacedesk used.
Could you please check if your current network profile in your primary machine is Private or Public?
Could you also try to connect with HTML5 Viewer on your iPad too, just open a web browser (e.g. Safari or Google Chrome) then go to http://viewer.spacedesk.net/, the try to connect to your computer’s IP address.28 12 月, 2021 1:26 上午 #5243
VPN connection might cause a discovery issue with spacedesk, in some cases it works but most of the time it’s not. That’s why we advice to disable any VPN connection when using spacedesk.
For details, please check Troubleshooting -> Network Connection -> VPN chapter in the user manual. https://www.spacedesk.net/user-manual/#item_493