You are not logged in.
Hello! KDE Connect works when I turn off UFW, but when I add
1714:1764/tcp (v6) ALLOW Anywhere (v6)
1714:1764/udp (v6) ALLOW Anywhere (v6)
it does not work...
I also tried
10.0.0.255 1764/udp ALLOW 10.0.0.0 1714/udp
10.0.0.255 1764/tcp ALLOW 10.0.0.0 1714/tcp
as I wanted to limit the ports to the local network, but this does not work either...
If I stop ufw and connect my phone, and then fire up uwf again, it remains connected till reboot, but I suppose this is normal behaviour?
Last edited by jerik (2015-12-11 22:49:27)
Offline
Has anyone here successfully installed both KDE Connect and UFW with Arch? This problem is with two of my PCs...
Offline
Right now I am using KDE connect and ufw without any issues.
The only thing that I think that I can think of is that you did not open ports 1714-1764 for both udp and tcp.
Offline
As you can see in my first post I have added rules for both... It is very strange, because if I remove those rules, stop ufw and connect my phone, the connection is lost as soon as I start ufw again.
But with the rules enabled, the connection remains after I start ufw again....
Offline
Could you provide the commands you use to open the port ranges? Just to see if there is something you do differently...
Offline
I have tried this:
$ sudo ufw allow proto tcp from 10.0.0.0 port 1714 to 10.0.0.255 port 1764
$ sudo ufw allow proto udp from 10.0.0.0 port 1714 to 10.0.0.255 port 1764
and this:
$ sudo ufw allow proto tcp to any port 1714:1764
$ sudo ufw allow proto udp to any port 1714:1764
Offline
What I did (if I remember correctly) was:
# ufw allow 1714:1764/udp
# ufw allow 1714:1764/tcpI think that if you get rid of your from and to ip addresses it should work.
Offline
Thank you!
Doing that I now see that it adds two rules for each time, one with (v6) and one without. I suppose this has to do with IPv6. I am quite sure that this was it, that rules for IPv4 was missing ;D
Offline