Questions tagged [ufw]

Uncomplicated Firewall is a firewall configuration tool for Linux. It acts as a frontend to iptables. Originally designed for Ubuntu, it is available on many Linux distributions.

Uncomplicated Firewall is a firewall configuration tool for Linux. It acts as a frontend to iptables. Originally designed for Ubuntu, it is available on many Linux distributions.

479 questions
0
votes
1 answer

UFW: how to allow access to port 9999 on one IP only

At the bash command line on an Ubuntu 16.04 server, the command 'ufw allow 9999' opens that port on every IP address being publicly exposed on the server. But I only want port 9999 to be exposed on IP address 999.999.999.999 but NOT on IP address…
Dave
  • 1
0
votes
1 answer

Can't open port with ufw

I need to open the port 8081 for my application. I want to connect to the application from another server. Problem I can't open the port. I started the application with port 8081 and ip 0.0.0.0 and 127.0.0.1 ,I enabled ufw /disabled ufw, I read the…
Bahamas
  • 103
  • 1
  • 3
0
votes
1 answer

openvpn restricting clients from accessing certain IP's in internet with ufw

I'am looking for a solution which can block openvpn clients in accessing certain website(ip's) in internet, i tried ufw rules like below , but doesnt seems to work from client, what piece do i miss? To Action From -- …
Tibin
  • 111
  • 4
0
votes
1 answer

OpenVPN Server Routing/Firewall Settings

Short Desc: Connecting Rasp pi 3 as client to data center dedicated server for pulling backups over rsync. Getting "ERROR: Cannot ioctl TUNSETIFF tun0: Device or resource busy (errno=16)" Long Desc: After configuration, I've been trying to use my…
Justin C
  • 103
  • 4
0
votes
0 answers

ufw not blocking the connection

ufw default deny incoming ufw default allow outgoing ufw reset ufw allow ssh ufw enable But when I make PPTP connection to my server it is still allowed. UFW STATUS VERBOSE
Arrowsome
  • 101
  • 1
0
votes
0 answers

Proper UFW rules for webserver being tunneled through Openvpn Server on EC2 instance

I have configured a webserver locally. I am running an Ubuntu 18.04 EC2 instance which is configured as an openvpn server. My webserver is successfully connecting/tunneling to my OpenVPN Ubuntu server Instance, and serving web requests on ports 80…
DanRan
  • 73
  • 1
  • 3
  • 22
0
votes
2 answers

How to block Internet Traffic to MySQL on Ubuntu 18.04

I have setup two KVM servers with a local hosting service. They provide me with one public IP per server. I installed mysql-server 8 on one of them. Before describing the issue, here's the result I'm hoping for: 1) The second server should be able…
Neil
  • 103
  • 3
0
votes
0 answers

UFW activated, but still failed connections in auth.log

I activated the ufw on my ubuntu 18 server. After resetting to defaults, deny all incomming, I opened port 22, 80 and 443 and enabled the logging. In the ufw log, I can see a lot of blocked request. But I don't understand, that I can find failed…
0
votes
2 answers

Use ufw to block users from accessing my server via a specific vpn

The last couple of days I've been having some weird small DDoS attacks on different VPS's I have online. The first one I detected using netstat and I noticed a bunch of IPs that were from a different region (resulting in Singapore) so I used ufw…
0
votes
2 answers

Unable to allow Nginx in firewall

I installed Nginx on my Ubuntu 18.04 server with the following command : $ sudo apt-add-repository ppa:hda-me/nginx-stable $ sudo apt update $ ubuntu@www-example-com:~$ sudo apt install brotli nginx nginx-module-brotli Reading package lists...…
Mathieu
  • 5
  • 2
  • 4
0
votes
1 answer

Nginx not responding from outside the remote box

My website (Django/nginx/gunicorn/mysql) which is hosted on a remote box was working fine, until I decided to restart remote box for some reason. So after the restart, in the remote box when I say curl -IL -H -GET my.web.address it works fine.…
deman23
  • 11
  • 3
0
votes
2 answers

How can I make an IP white list for a port that is exposed with docker-compose

I'm trying to make a port (that is exposed by docker-compose) on public IP available only for some of my other IP addresses. I still need other ports to accept connections from any IPs. I've tried using ufw to achieve this but apparently docker…
Saeid Raei
  • 13
  • 4
0
votes
0 answers

Why is UFW blocking port 80 when port 80 is allowed?

I have set up dozens of these Ubuntu 18 servers and have never had any issue with this before. I can't figure out for the life of me why it is blocking. Here is my UFW status: $ sudo ufw status Status: active To Action …
Carl
  • 101
  • 1
-1
votes
2 answers

Using UFW to completely block internet provider

I am facing a DDOS attack from a few hundred IP addresses, all of them coming from various cities in India and have the same organization: "................ for GPRS Service". (I'm not mentioning the whole name). The attack started around 5 hours…
ToX 82
  • 119
  • 1
  • 5
-1
votes
1 answer

Accessing resources on server that I'm connected to via OpenVPN

I run a pretty basic OpenVPN server that is set up along the lines of the guide from DigitalOcean. It uses UFW to only allow incoming connections for OpenVPN (default port) and SSH. Now, I also want to run a VNC service on the same system (port…
morph
  • 51
  • 7
1 2 3
31
32