Hi,
i have two PCs (one notebook and a desktop pc) in my private network, both have tumbleweed installed.
Both devices are connected to my cable router, which is connected to the internet.
The notebook is connected via WLAN and has the local IP: 192.168.178.30
The deskop PC is connected via LAN and has the local IP: 192.168.178.20
both PCs have access to the internet and also can ping each other.
What i want to do is, access the desktop PC via SSH from the notebook, at first i activated and enabled the sshd service:
systemctl start/enable sshd.service
The service is active (running) at the moment on the desktop pc.
The problem is, i cannot connect from the notebook. Obviously i have to allow ssh in the firewall settings first!
So i noticed that there are 3 zones: internal, external and demilitarized, ideally would be to allow ssh (server) only from within the local network because
i do not want to access the desktop pc from the internet. But i also noticed that in the internal zone (which should be LAN if i got this right)
nothing is blocked by default!
The only explanation would be, that the notebook, or maybe both devices are not in the internal zone. So how can test and change this?
Or is there a better way?
I also noticed that the “interface” section (the second right after “start”) in the firewall configuration section of yast, has my network device listed (desktop pc): enp5s0
but is has no zone assigned!
This is probably correct right? I did not tried to change that because i did not wanted to mess anything up, but maybe this is relevant for
my planed configuration also?