Hi all,
I need your help for correctly configuring my firewall.
My aim is to allow barrier
share my mouse and keyboard of my main PC with the laptop. Both are running Linux LIte.
I already installed barrier
on both systems and it works as it should. I had to disable the SSH setting in barrier thoughā¦
ā¦ and I had to switch off my firewall (firewalld
) to make it work.
Of course I donĀ“t want to do that, so I think I have to allow port 24800, which is used by barrier, on both systems.
Here the problems starts:
My setup is this:
there are two network interfaces running:
- enx001e101f0000 (LAN for getting internet access) # IP address: 192.168.8.102
- wlxe4beed63ad6d (WLAN providing the hotspot access for the laptop) # IP address: 10.42.0.1
So I want to configure firewalld
in a way that it allows port 24800 for use of barrier.
But: the second interface isnĀ“t even listed :
sudo firewall-cmd --get-default-zone
public
ā¦
sudo firewall-cmd --zone=public --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: enx001e101f0000
sources:
services: dhcpv6-client ssh
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
ShouldnĀ“t there be two entries under āinterfacesā
Can anyone help me configure firewalld
for the use of barrier
?
Thank you so much in advance.
Many greettings
Rosika
UPDATE:
Using firewalldĀ“s GUI got me a little further:
Here the 2nd interface is listedā¦ with zone: nm-shared.
From here I could add a port (in my case 24800).
Would this be the correct way of doing it