Discussion:
issue with ufw blocking interface
(too old to reply)
Kyonshi
2024-04-24 11:35:14 UTC
Permalink
Ok, here's an issue where I might have some issues with understanding
how this actually works.
I have a machine that has both a public IP on eth0 and a private one on
wlan0.
I tried to block off all inbound traffic on eth0 with
ufw deny in on eth0

Instead I now seem to have blocked all incoming traffic, including the
wlan0 interface (which kicked me out of the ssh session).
What am I doing wrong here?
--
microblog: https://dice.camp/@kyonshi
macroblog: https://gmkeros.wordpress.com
pictures: https://portfolio.pixelfed.de/kyonshi
Kyonshi
2024-04-24 14:21:09 UTC
Permalink
Post by Kyonshi
Ok, here's an issue where I might have some issues with understanding
how this actually works.
I have a machine that has both a public IP on eth0 and a private one on
wlan0.
I tried to block off all inbound traffic on eth0 with
    ufw deny in on eth0
Instead I now seem to have blocked all incoming traffic, including the
wlan0 interface (which kicked me out of the ssh session).
What am I doing wrong here?
ah, no, turns out it just blocks everything and I needed to allow port
22 first. yeah, I was thinking the wrong direction.
--
microblog: https://dice.camp/@kyonshi
macroblog: https://gmkeros.wordpress.com
pictures: https://portfolio.pixelfed.de/kyonshi
Loading...