Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

0
votes
0answers
11 views

VPN HideMy_SS Connection Issue

I've spent more than a few hours searching through forums, and contacting HMA support, a bit useless in this case. Anyways, here are my observations. If UFW / GUFW is enabled with all inbound and ...
0
votes
1answer
58 views

UFW not working in 16.04 server. Refers to earlier kernel module?

I am trying to move our mail server based on 12.04 to a brand new installation of 16.04 server. When I run sudo ufw status, I get: ERROR: problem running iptables: modprobe: ERROR: ...
0
votes
0answers
12 views

ufw to be enabled by default?

The 'Ubuntu Security Features' page [ https://wiki.ubuntu.com/Security/Features ] states : "Configurable Firewall. ufw is a frontend for iptables, and is installed by default in Ubuntu (users must ...
0
votes
1answer
22 views

xrdp on ubuntu server

I have set up xrdp on my ubuntu server 15.10, with mate desktop environment and it all works fine and dandy. Except for when I enable UFW. I have the following ports allowed all tcp 2222 (ssh) 3389 ...
0
votes
1answer
29 views

Block IP beginning with, U.F.W

Someone is running a registration bot on my site and I have taken steps to prevent the registration, but now I want to block the whole IP range from even being able to access my site. I have set up ...
1
vote
3answers
40 views

Adding VPN to firewall UFW

I'm having trouble at work in connecting to the work VPN while Firewall (UFW) is active. When i disable it "sudo ufw disable", there are no problems. When it's on, when trying to connect I receive ...
-1
votes
0answers
22 views

Cant connect to port over internet

I have a virtual machine with Ubuntu 14.04. I just can't seem to access fx port 8080. Everything I ping is closed. But im connecting over rdp and that port is also closed when I ping it. Here is the ...
0
votes
0answers
30 views

Easiest way to forward a port on local network

I have a server (python -m http.server) running on hostA:8000. Say I want to forward traffic from hostB:8004 to hostA:8000 How can I achieve that from hostB? I've already tried, $ sudo ufw allow ...
3
votes
1answer
25 views

Using UFW with ipsets

I am running Ubuntu 14.04 on a VPS for business purposes. The firewall is setup using ufw; testing reveals that it's working well. I'd like to further secure my server using techniques described ...
0
votes
0answers
29 views

Printing with UFW

I have just set up a print server using CUPS and Avahi to allow printing from iOS devices on my home server. I have UFW set up to block all traffic that isn't on my VPN or over LAN. I have even set up ...
0
votes
1answer
49 views

Inherited Ubuntu server will not PING: What am I missing?

Update: It turns out, our in-house network suppresses pings. I demonstrated this by turning my phone into a hot-spot (thus changing my outbound gateway), connecting with a laptop, then pinging the ...
0
votes
1answer
59 views

UFW rule doesn't work

At first enable the ufw status. root@sai:~# ufw status Status: active It blocks both incoming and outgoing connections, tested by using ping ssh from both sides not working. root@sai:~# ping ...
0
votes
1answer
29 views

Bad ARGS for ufw deny

I'm following this instruction and got the following error when trying to firewall the client. How else can I use ufw to get the same network behavior? aborns@nautilus:~$ sudo ufw deny out eth0 ...
0
votes
0answers
29 views

How to make ufw allow only connections from outside lan

I am setting up a server at home from an old pc with ubuntu, and would like to "separate" it from my local network by configuring the firewall to allow only connections from outside my lan. I found a ...
1
vote
0answers
12 views

Gufw fails to control ufw

ufw is 0.34 gufw is 15.10.0 As title says it is not possible to control the active status of ufw through gufw: sudo ufw status Status: Inaktiv start gufw, enter root passwort to authenticate. ...
0
votes
0answers
40 views

UFW not opening port

Could someone explain why I can't open port 64738? I opened it with sudo ufw allow 64738 But when I test with nmap, the port is still closed. > sudo ufw status Status: active To ...
0
votes
0answers
39 views

ufw allow from 10.8.0.0/24 to any port 80 proto tcp

I have openvpn running over 1194/udp and I need to restrict apache access to vpn clients only, the rest of the world should not be able to access web server. So I did this configuration: ufw allow ...
0
votes
0answers
7 views

Why can I not connect to my Ubuntu 12 box when ufw shows my port is accessible from “anywhere”?

I have my ssh ports set to 880 as shown in the screen shot below. But when I try to SSH to my box from a remote IP i cannot access it. The ufw status shows that the port is open from ANYWHERE. ...
0
votes
0answers
38 views

Still seeing connections from IP after blocking in fw

So I'm using iftop to monitor connections on my server, and I'm seeing this ip address 116.110.127.24 making constant connections on ssh port. (I'm not sure if this means 22 or my actual ssh port, it ...
0
votes
0answers
68 views

UFW block 80 port? 14.04

Im using ubuntu 14.04.On ufw 80 , 80/tcp , 80/udp is allowed from all. But when i look to logs. its look like this *my server ip YYY.YYY.YYY.YYY *and i delete my mac and ip Feb 21 16:59:14 server ...
1
vote
1answer
65 views

How can I dynamically determine the IP mask to use for dynamic ranges?

I have a list of ranges for IP addresses that I want to block, the ranges are like 210.80.32.0 to 210.80.63.255 How can I dynamically determine the right 210.80.32.0/NUMBER to capture the full range? ...
0
votes
1answer
45 views

UFW firewall start up on ubuntu 14.04.3

On all 3 of my Ubuntu 14.04.3 workstations when restarted the UFW firewall is deactivated and has to be started manually sudo ufw enable. My UFW.conf is set to enable startup as follows: # Set to ...
0
votes
0answers
29 views

Firewall not starting on system startup

I have enable firewall using sudo ufw enable. But when i restart system, it is getting disabled. I checked /etc/ufw/ufw.conf and it has ENABLED=yes. Here is system config $ uname -a Linux master ...
0
votes
0answers
33 views

Block HTTPS site

Can anyone recommend an effective tool to block some https websites with ubuntu server? I want to use the server as a gateway for the users. A detailed guide would be highly appreciated. Thanks
0
votes
0answers
36 views

UFW ACCEPT Problem

I'm having problem with UFW. If i block like whole /24 network becouse lots of bruteforcing etc. coming from China / Korea or somewhere. They still get to open ports. If i have, lets say port 443 ...
0
votes
1answer
39 views

Unable to add firewall rule “Duplicate Profile”

I'm unable to add new rules to my firewall using ufw gui. In the Log I get the following error. [19/01/16 14:16:43] Error running: /usr/sbin/ufw allow in from any to any port 8000 > WARN: ...
0
votes
1answer
73 views

OpenVPN Configuration with ufw eth0 doesn't exist to add it in before.rules

in this guide I am asked to edit /etc/ufw/before.rules and add: # START OPENVPN RULES # NAT table rules *nat :POSTROUTING ACCEPT [0:0] # Allow traffic from OpenVPN client to eth0 -A POSTROUTING -s ...
0
votes
1answer
62 views

How does ufw filter traffic?

I enabled ufw firewall with the following command: $ sudo ufw enable Firewall is active and enabled on system startup $ Now while I look at the status: $ sudo ufw status verbose Status: active ...
0
votes
1answer
46 views

Would active connections cause this UFW Block?

I'm running ubuntu 14.04 as a gateway, routing is controlled by iptables. I'm getting a number of strange blocks in UFW which seem to effect established connections. Is there any way this block would ...
0
votes
0answers
27 views

ufw, wifi, ethernet and the access to my computer

Hello everybody and thank you for your help in advance. My problem is as follows. I have installed kmotion, webadmin and of course apache in my laptop. I have opened ports 80, 8085 and 10000 ir order ...
0
votes
2answers
77 views

How to make room in /var/log partition

Tracking ubuntu 14.04.3 firewall info I enabled ufw full login for a while (now turned back off). Now I'm warned I run out of space in the /var partition. Looking there in I find 3 huge files: ...
0
votes
0answers
94 views

UFW is not logging (port scan with nmap)

This is the output of sudo ufw status verbose: Status: active Logging: on (low) Default: deny (incoming), deny (outgoing) New profiles: skip To Action From -- ...
0
votes
2answers
60 views

Do I need iptables or ufw if I have gufw?

On my Ubuntu computer I have Iptables,ufw and gufw installed on it but I am trying to figure out if I need to remove one so I did a experiment and removed iptables and I saw ufw and gufw was removed ...
0
votes
2answers
42 views

Why does Ubuntu comes with two firewalls by default?

I just realised Ubuntu comes with two firewalls by default iptables and ufw. But why? I mean running more than one software firewall on one computer can be insecure, that's what they say. I don't ...
0
votes
1answer
25 views

Filtering between 2 sub-networks with UFW?

On my server I have set-up 2 networks (eth1:172.16.1.0/24 and eth2:172.16.2.0/24) which should both communicate to the internet (interface eth0). Thus the server does the masquerading with ufw. ...
0
votes
0answers
31 views

External connections to website are blocked

I have a fresh install of Ubuntu server and am just trying to host a website on port 9999. My router is correctly forwarding the port to the hosting machine and I have set ufw to allow TCP on port ...
1
vote
0answers
123 views

UFW is blocking “gvfsd-smb-browse” on changing ports

I have a problem connecting to the samba shares between two of my computers. One is a Laptop and the other a Destop-PC, both running Ubuntu-Gnome 15.10. It changes from which Computer I can connect to ...
0
votes
1answer
85 views

How to debug connection issues caused by ufw/iptables?

My current ufw setup is causing problems, specifically with git, and I suspect this will not be the last time it causes connection problems. What should be the debug procedure to understand ...
4
votes
2answers
606 views

How to configure UFW to allow ntp to work?

I've enabled UFW on one of production servers with configuration: Default: deny (incoming), deny (outgoing). For NTP synchronization, I've installed ntp and it's currently running. Can someone advise ...
1
vote
1answer
142 views

Forward only web traffic to another interface

My Ubuntu server has two interfaces. 1) Public - eth0 2) Internal - eth1 How can I forward web traffic (port 80) to nginx running on eth1 from Public interface eth0 ? I don't know exact ufw ...
0
votes
1answer
49 views

Hamachi is able to ignore firewall

Hello I recently installed Hamachi and Haguichi. I created a network and my friend joined. So I hosted a game and the port was 1100, I think, but the problem is that he was able to join althrough I ...
0
votes
1answer
26 views

ufw not securing ports

I have configured ufw in the manner below. What is puzzling is ports that I have instructed to block both outbound an inbound are connected. Why? My current ufw configuration vs. open port via ss ...
0
votes
0answers
32 views

Will this UFW Config keep all non-lan traffic on the VPN?

I use PIA VPN as an always on VPN for my ubuntu box. I want all the traffic to go through the VPN, and no internet activity anywhere else. I also want to keep local LAN access to/from my ubuntu box. ...
0
votes
2answers
73 views

How to disable UFW ubuntu externally?

i am using amazon EC2, i enabled UFW in my server and without adding any other rule i logged out. now since there was no rule specified, i am not able to login to ssh and because of it even my website ...
0
votes
1answer
80 views

Putty not letting me to login to ubuntu remote server?

I am using amazon ec2 instance for one of my products and i am stuck with a very big problem. I am new to server and was just looking to configure UFW for only my ipaddress and i updated a rule for it ...
1
vote
0answers
110 views

What's the purpose of economy.canonical.com?

I noticed that in one of my server's /var/log/ufw.log this morning that the firewall had blocked the IP address 91.189.91.23 from accessing port 80. This occurred 9 times within about a minute and a ...
0
votes
2answers
116 views

How to configure ufw to allow xsane to reach scanner?

I could not find any clear answer through prior research. Xsane fails to find the scanner with ufw enabled, works great with ufw off. I have opened 6566 for both tcp and udp in ufw. Still no joy. ...
0
votes
0answers
21 views

Some SSL web sites stop responding, while others continue to function

Does anyone have ideas on how to debug my problem. I have sites that are using dedicated IPs with secure certificates from comodo, and other sites using startssl certificates. Under unknown ...
0
votes
1answer
99 views

What Ports do I need to keep open to access my SSH Server with non-default Port

I'm not using Port 22 for my SSH but something above 47000 I have ufw (uncomplicated firewall) installed and have unblocked "ssh" and "http" When I look into the current ufw status he says that Port ...
2
votes
2answers
96 views

Is Uncomplicated FireWall (ufw) a service?

I am currently studying iptables and ufw on Ubuntu server. While playing with them I came across an ambiguity about the true nature of the ufw. Here is the problem: When I run sudo ufw status in ...