Questions tagged [ufw]
Uncomplicated Firewall (ufw) is a firewall that is designed to be easy to use. It uses a command line interface consisting of a small number of simple commands, and uses iptables for configuration.
198
questions
-1
votes
0
answers
23
views
Can't connect to my server from my home IP (all services connection refused) [closed]
Today, I want to connect to my server but I couldn't. I got a connection refused, but I can't understand why. It's only from my home IP, over my phone I can just connect.
I've disabled ufw on the ...
0
votes
0
answers
24
views
Webapps running on NGINX Proxy Manager still accessible in a browser using the IP and port
I'm using NGINX Proxy Manager v2.11.2. I have installed a number of apps, but let's use linkding for the example.
Linkding and NGINX proxy manager were installed via Docker Compose. They are on the ...
0
votes
1
answer
76
views
Accessing service inside container using host networking from another container
I have a docker container A which must run with network_mode: "host", and exposes a service at port 13557.
I also have ufw which by default blocks all ports not explicitly allow-listed, ...
0
votes
0
answers
86
views
ufw rate limiting ansible on ubuntu 22
this was all done on ubuntu 22.
$ ufw version
ufw 0.36.1
Copyright 2008-2021 Canonical Ltd.
$ cat /etc/os-release | grep VERSION
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy ...
0
votes
0
answers
13
views
Configure firewall for Mastodon bot
I have made this bot for Mastodon with mastodon.py:
https://github.com/aitormendez/loro/blob/main/loro.py
The bot listens to mentions and responds to them. I have it running at home on a raspberry pi. ...
0
votes
0
answers
131
views
ERROR: unable to select packages: docker (no such package): required by: world[docker]
I'm trying to build a jenkins image and here's the dockerfile:
FROM "jenkins/jenkins:lts-alpine"
USER root
RUN apk add --no-cache docker
RUN apk add --no-cache nodejs
COPY ./run-zap.sh /...
0
votes
1
answer
181
views
UFW not creating chains causing startup to fail
I am having an issue with UFW causing it to fail to start on 2 of my LXCs running Debian 12 Bookworm (while the same type rules are working fine on 12 other Debian 12 LXCs and 7 Debian 12 VMs.) The ...
0
votes
1
answer
130
views
Enable UFW to block dockerized application. How can I block outside access to just the docker network?
My dockerized server is visible to the internet even though I've set UFW to not allow anything but ssh and http.
I've read that docker opens the ports via the ip-tables and bypasses UFW.
I do not want ...
1
vote
0
answers
62
views
Dealing with securing an ICE server to allow only allowed IP addresses to access it
I am trying to figure out the best way to secure an ICE server for WebRTC calls. At the moment, the server allows all traffic through the necessary ports (say, 4000:8000) that are required for Coturn ...
0
votes
1
answer
134
views
vite-typescript-express-ssr-react - API not working on VPS
first time setting up a VPS with Docker to serve my Node application.
I am currently struggling to get my applications API to work on my VPS.
I am using one container for both frontend and backend. ...
0
votes
0
answers
18
views
Server IP is pointing at some unknown (attacker) domain which has http. If I deny the http rule from ufw does that attacker site will be open?
My server IP is pointing to the two domains. One is pointed to my client's domain and other one is the annonymus/attacker. The attacker site has http. So if I apply ufw deny rule then will it stop ...
1
vote
1
answer
114
views
MySQL4 on a Raspberry Pi 4 B
I am using CAO faktura 1.4 which only works with mysql4,
so I installed mysql4.1.22 on a Raspberry Pi 4 B
which was a bit tricky but finaly I managed to configure and make install.
Then I added to the ...
0
votes
1
answer
179
views
How to delete ufw rule by number without prompt
root@mail:~# ufw status numbered
Status: active
To Action From
-- ------ ----
...
[16] 22 ALLOW IN ...
0
votes
0
answers
456
views
Ubuntu - Open a port for listening (no ufw, firewalld, iptables running)
I am looking to have my Ubuntu 18.04 VM listening on port 25.
Currently, nestat shows the below;
root@prod-neptune1:~# netstat -lntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q ...
0
votes
0
answers
51
views
Connection Refused Error when Requesting from a Docker Container to Itself via Nginx Reverse Proxy with UFW Enabled
I have set up a Dockerized environment on an Ubuntu VPS with the following components:
A Django container serving a website (example.com).
A Nginx container acting as a reverse proxy.
All containers ...