You are not logged in.

#1 2024-02-05 03:34:05

jerryDaBaaws
Member
Registered: 2020-06-08
Posts: 115

kdeconnect not working with ufw

So no matter what i cant get to connect my phone to my pc via kdeconnect, if im using ufw,
but if i use firewalld  or even iptables ( while using ufw ) it works 

as per the troubleshooting on the page https://userbase.kde.org/KDEConnect#Troubleshooting
while using ufw

 sudo netstat -tunelp | grep -i valent
tcp6       0      0 :::1716                 :::*                    LISTEN      1000       13097      2135/valent         
udp6       0      0 :::1716                 :::*                                1000       13098      2135/valent 
netcat -z -v  192.168.1.40 1714-1764                                       
pixel [192.168.1.40] 1716 (xmsg) open
 sudo ufw status                                                             
Status: active

To                         Action      From
--                         ------      ----
1714:1764/udp              ALLOW       Anywhere                  
1714:1764/tcp              ALLOW       Anywhere                  
1714:1764/udp (v6)         ALLOW       Anywhere (v6)             
1714:1764/tcp (v6)         ALLOW       Anywhere (v6)             

ufw service is also enabled and active

any idea why ufw isnt working

Offline

#2 2024-02-05 16:33:46

terashy
Member
From: swiss
Registered: 2022-08-29
Posts: 2
Website

Re: kdeconnect not working with ufw

jerryDaBaaws wrote:

| grep -i valent


Why did you grep for `valent`? That seems something new…

It should be:
```
sudo netstat -tunelp |grep kdeconnect
tcp6       0      0 :::1716                 :::*                    LISTEN      1000       26357      22414/kdeconnectd   
udp6       0      0 :::1716                 :::*                                1000       26356      22414/kdeconnectd 
```
That's also in the Tutorial that you Post. `valent` is blocking your 1716 Port, so what if you grep for `kdeconnect`

Offline

#3 2024-02-07 03:34:03

jerryDaBaaws
Member
Registered: 2020-06-08
Posts: 115

Re: kdeconnect not working with ufw

valent is an kdeconnect based gui app which u can use outside of kde ,

https://github.com/andyholmes/valent/


and like i mentioned it works with iptables and firewalld

Offline

Board footer

Powered by FluxBB