arky217 wrote: ↑
Wed Nov 07, 2018 11:33 pm
Then 10 sec. later, it says 'Session Closed' 'The session has ended' 'Status: result_invalid_state'
This happens every time from the home computers to the remote computers.
From the remote computers to the home computers, there is no problem; works every time.
The owner of the router at the remote computers says that there is no firewall in the router's configuration,
but it seems that Anydesk can go both ways on my home router, but only out on the remote router.
Maybe the remote router doesn't have anything to do with it, but it's something common
to Anydesk being able to get through to both remote computers.
Seems to me somehow related to the settings in the remote network.
First I would change for both remote computer the local listing port of anydesk,
used for direct connections:
As 1st pc1 -> 7070 ( or any other like 7170 )
an 2nd pc2 -> 7071 ( or any other like 7171)
Than I would do a simple test:
- keep only one remote computer running, check if this work better?
Do you have fixed IP's or regularly changing IP-adresses of you router/pc's on the remote side?
Is that an router on the remote side a NAT-router? Does it have any port-forwarding rules?
(Or with other words: Is you remote IP-address you get, a private or a public IP? )
Background: Anydesk tries to establish a direct connection, if it can access the remote PC.
Even behind a NAT-router it would try direct NAT's connections with port forwading.
So either you prepare / allow direct connections, or make sure anydesk does not detect
possible direct connections.
To allow direct connection: make sure you open you firewall for that port ( e.g. 7070 or 7071 ),
if possible restrict further to the IP's of the other side, if fixed IP's are involved.
The would not reduce security, as anydesk is running/listing on that port anyway,
and would reject anything which is not an anydesk connection.
To disable direct connections: make sure you firewall blocks all incomming traffic.
There are always other potential reason, like NAT router on the remote side is somehow limited.
And also make sure you don not block any outgoing traffic anywhere to the anydesk-relay network relays.net.anydesk.com on port 80 and 443.
( dig relays.net.anydesk.com )
Potetial resetting the AnyDesk ID of the remote side might alos considered.
( removing those ~/.anydesk/service.conf /etc/anydesk/service.conf )