my Raspberry Pi 500 with Syncloud is the RustDesk server. External access over (limited) Relay
When I’m at work I like to connect home (a MiniPC always on with a RustDesk client)
I understand that my external (work) computer connects to the RustDesk’s server over relay, but then I expected that Syncloud/RustDesk server connected my external computer < > MiniPC directly without going through the “RPi 500/Relay/RustDesk” !
At least last month I depleted my “Relay” traffic very quickly and the RustDesk is much slower than TeamViewer used to be…
Can it be that the connection is all the time external <> Relay/RPi 500 <> MiniPC? (That would explain the high consumption and slow performance)
Hi, can we finish the IPv6 setup? It is the proper fix for the relay data problem, including RustDesk.
Your internet provider uses CG-NAT, but that only affects IPv4. Your IPv6 address is a real public one, so nothing on the provider side blocks it. The only thing stopping connections from outside is your router’s firewall. I tested from outside today: your device has an IPv6 address, but the router still drops the connection.
One change from last time: your provider changes the first half of your IPv6 address now and then. It has already changed once since October. A rule for the exact address would stop working at the next change, so this time we allow the whole home range. It is still only port 443.
On syncloud.it, open Devices and copy the IPv6 address (the part between the square brackets). Keep only the first four groups, the ones separated by colons, and add :: at the end. For example, 2a12:aaaa:bbbb:cccc:1111:2222:3333:4444 becomes 2a12:aaaa:bbbb:cccc::. Please do not post it here.
In the router, go to Filter Criteria, then IP Filter, and add a new item:
On
Name: Syncloud
Target: Allow
Order: 1
IP Version: IPv6
Source IP: leave empty
Destination IP: the address from step 1, and 64 in the small box after the slash
Protocol: TCP
Destination port: 443 (leave the source port empty)
Ingress: your internet (WAN) connection
Egress: LAN, or Any if there is no LAN choice
As before, if no port fields appear after you choose TCP, do not press Apply. Send me a screenshot instead.
Apply, then post here. I will test from outside straight away.
One more thing for RustDesk: please open http://test-ipv6.com/ on your work computer, on the work network, and tell me if it passes.
If it passes, RustDesk from work will connect over IPv6 and skip the relay once the rule above works.
If it fails, your work network has no IPv6. RustDesk from work will keep using the relay.
Your 5G phone almost certainly has IPv6, so Immich and Syncthing from outside should stop using the relay as soon as the rule works.
Thanks I will try this weekend to find some time to test it out. At work a use my phone’s 5G connection ipv6.
Update: somehow…my 5G internet provider now returns as ipv6 not supported?! I tested in August and September (identical website but from Google) and mine had and now .. it dropped? Anyway: no ipv6.
Can I access my optical fiber ipv6 at home, through a ipv4 source like my phone?
If not, I need a solution like Zerotier or similar. Just RustDesk eats a lot of data…
In Syncloud, open Settings → Access, make sure IPv6 is on, and press Save. You will most likely see a warning that IPv6 is not reachable. That is the router blocking it.
In the router, go to Internet → Security → Firewall, set Firewall Level to Low, and press Apply.
Save the Syncloud Access page again.
No warning: the router was the problem. Set the firewall back to Middle, add the IP Filter allow rule for IPv6 port 443 from my previous post, and save the Access page again. No warning means the rule works, and you can keep the firewall on Middle.
Still a warning: the router or Digi blocks incoming IPv6 even on Low. Set the firewall back to Middle, and ask Digi to allow incoming IPv6 or to put the router in bridge mode.
Please do not leave the firewall on Low; it is only for this test.
Phone (5G): with Wi-Fi off, open http://test-ipv6.com/ on the phone. Then connect the work laptop to the phone’s hotspot and open it there too. Please send both screenshots by email to support@syncloud.it, not here (they show your addresses), and tell me your mobile operator.