Score:0

How can I deny a specific port on a certain interface/public IP using ufw?

in flag
JRA

I tried using the command below but I can still connect to it via browser.

sudo ufw deny from any to {public IP} port 8080

I am running a wikijs (running on port 8080) on a server with cloudflare tunnel access. I want to block browser access when they try to browse for http://public-ip:8080

asktyagi avatar
in flag
check this one https://serverfault.com/questions/270715/ubuntu-ufw-set-a-rule-on-a-per-interface-basis if that help.
JRA avatar
in flag
JRA
that link pertains to allowing a rule on a network interface. a bit opposite of what im trying to do.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.