1

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

JRA
  • 11
  • 2
  • check this one https://serverfault.com/questions/270715/ubuntu-ufw-set-a-rule-on-a-per-interface-basis if that help. – asktyagi Feb 15 '22 at 08:07
  • that link pertains to allowing a rule on a network interface. a bit opposite of what im trying to do. – JRA Feb 16 '22 at 00:19

0 Answers0