this post was submitted on 11 Oct 2024
6 points (61.5% liked)

Selfhosted

40174 readers
959 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I want to set up ufw on my server, but something wrong here. Even when I trying to block 22 port ssh still working and nothing changing. I have ufw enabled, but nothing works.

you are viewing a single comment's thread
view the rest of the comments
[–] schizo@forum.uncomfortable.business 7 points 1 month ago (17 children)

So you want to block port 22? Yet the rule you added allows access, or am I misunderstanding?

You probably need to be DENY instead of ALLOW if that's what you're wanting to accomplish.

[–] someoneFromInternet@lemmy.ml -1 points 1 month ago (11 children)

, no, I want to open, for example this port, but:

[–] schizo@forum.uncomfortable.business 4 points 1 month ago (1 children)

That's a website tool checking? It's almost certainly only going to check TCP, since most of them don't do anything with UDP because it's... more complicated.

You may need to find an alternate way to do that, something like iperf or netcat (nc -u ip port)

[–] AceSLS@ani.social 2 points 1 month ago* (last edited 1 month ago)

nmap works great for this

traceroute might also be usable vith the -p switch I guess?

load more comments (9 replies)
load more comments (14 replies)