Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

3
votes
0answers
31 views

UFW Blocking Legitimate Traffic

I am currently getting this kind of message in the UFW and sys logs: xxx kernel: [4962636.572484] [UFW BLOCK] IN=et0 OUT= MAC= SRC=xxx.xxx.xxx.xxx DST=xxx.xxx.xxx.xxx LEN=52 TOS=0x00 PREC=0x00 TTL=52 ...
3
votes
0answers
520 views

What do these lines in the UFW logfile mean?

These lines are repeated several times, first one at the time when remote ssh connection with the machine is lost (mac address is the address of eth used for Internet connection) Mar 24 21:20:32 ...
3
votes
0answers
1k views

Why is UFW blocking outgoing connections?

UFW is blocking some outgoing connections on my server, such as Akismet, the spam killing plugin for my Wordpress site. According to Akismet's firewall info I need to allow contact with four IPs. My ...
2
votes
0answers
56 views

ufw - How can I open up a port to a range of ip's (UB 14.04)

i wonder if you can help me. I want to open up a specific range of ips to port 22, e.g from 32.46.23.113 to 32.46.23.126, how would I do this with UFW? I've had a look at subnet masking and have seen ...
2
votes
0answers
2k views

SSH connections rejected after UFW allow 22

I am trying to setup UFW on a 12.04 server. SSH works great with UFW off. Setting root@ugvps:~# ufw enable Firewall is active and enabled on system startup root@ugvps:~# ufw status Status: active ...
2
votes
0answers
456 views

Why does UFW seem to slow down wordpress?

I have a speedy install of wordpress going on ubuntu 12.04. Everytime i enable the UFW firewall, things can get really slow. Sometimes fast, sometimes slow, intermittently. Logging on through ssh ...
1
vote
0answers
57 views

UFW setup for OpenVPN server

I set up OpenVPN server on one Ubuntu machine and I am connecting to it via another Ubuntu machine. However, the VPN works only when the server firewall (ufw) is disabled. That is I can connect when ...
1
vote
0answers
111 views

How to setup and use the snap version UFW in 16.04 LTS?

Checking my UFW version I see its 0.35. However, I installed the Snap UFW and it is version 0.36pre-16.2. So how do I use the snap version of UFW? Do I have to uninstall UFW 0.35 first? I also ...
1
vote
0answers
19 views

Allowing outbound connection via UFW

I'm having trouble configuring UFW's 'default deny outgoing' setting. How do I add exceptions to this? Example: sudo ufw enable sudo ufw default deny outgoing sudo ufw allow to 91.189.94.40 sudo ...
1
vote
0answers
38 views

Transmission not downloading due to ufw

I set up ufw and it works nicely with every other service I have but Transmission is a mystery to me. It seems to start up and use different ports every time. Currently I've managed to get it to work (...
1
vote
0answers
24 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. ...
1
vote
0answers
136 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 ...
1
vote
0answers
134 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 ...
1
vote
0answers
434 views

Why can't I connect to my localhost port from a remote computer?

I'm using link-grammar server to convert sentences into semantic graphs. It provides an API though a port to do the above process. It's configured to works through port 9000 of localhost. I used to ...
1
vote
0answers
82 views

Is this ufw configuration correct?

I have to link my openstack private cloud on a cloud management platform online. The cloud location is on my private ip (192.168.0.9) , i can't use that ip since the platform need a public ip so i ...
1
vote
0answers
78 views

What is UFW's approach towards rules order for overlapping rules?

I need to enable UFW in my Ubuntu 14.04 Server having these conditions: - I want to deny all incoming and outgoing on all ports (and protocols) but: - I want to allow all incoming and outgoing on a ...
1
vote
0answers
174 views

problem with UFW

Following this tutorial I executed the following commands: sudo apt-get install ufw sudo ufw allow ssh sudo ufw allow http sudo ufw enable sudo ufw status verbose and I get: Status: ...
1
vote
0answers
563 views

Why aren't these ufw rules working?

I'm trying to configure ufw to only allow connections to 3 ip addresses on my local network, and deny everything else. Here's the commands I'm using: yes | sudo ufw reset sudo ufw default deny sudo ...
1
vote
0answers
2k views

Ubuntu UFW init failure

I have some strange UFW behaviour. Whenever I install it cleanly and add some allowed ports to it (without restarting) it works great. But when I restart UFW or the whole server for the first time ...
1
vote
0answers
211 views

Configuring ufw and iPredator VPN

I am running a VPN via IPredator on Ubuntu 12.04 Desktop, which works perfectly, when ufw is disabled. When I enable ufw, I logically cannot establish a connection. IPredator states that I have to ...
1
vote
0answers
145 views

Google Talk > Gufw set to Deny/Deny does BLOCK. Please help

I have my Ubuntu 12.04 Server. I installed Google Talk in it. I opened gufw, and set it to deny/deny and there are no allow rules. Now firefox wont connect to the internet which is good... But... ...
1
vote
0answers
677 views

UFW Firewall Rules, has a hole in it. Please help

Can someone please look at the below output for me. I have my UFW on deny/deny, and here are the rules. But if I leave my Ubuntu Server on, with a Windows XP VM, and let Instant Messenger run in the ...
0
votes
0answers
18 views

Ubuntu ufw blocking connection from allowed port

I have a strange bug, some of my visitor getting blocked somehow, somewhere. It is very strange. For example, it can connect to our database, but after he is trying to access the webpage, all the ...
0
votes
0answers
21 views

What could block a port on a fresh install of 16.04?

I need to share port 18090 on my local are network, however something is blocking it. netstat -ltn shows that 127.0.0.1:18090 is listening. I have issued both sudo ufw disable and sudo /etc/init.d/...
0
votes
0answers
16 views

Prevent Outbound IP Address spoof

We have multiple computers running Ubuntu Desktop, all connected to same Router. Using UFW firewall, all inbound and outbound ports are blocked on these Desktops, except for only one outbound port (...
0
votes
0answers
25 views

UFW doesn't do anything

I have an Intel nuc running Ubuntu Server with UFW enabled and im trying to block port 8112 however i can still reach it from outside my network. I have tried the following sudo ufw reset sudo ufw ...
0
votes
0answers
44 views

UFW issue in Ubuntu LTS 14.04

While executing shell command ufw status && ufw enable - I am getting the error message below: iptables v1.6.0: can't initialize iptables table `filter': Permission denied (you must be ...
0
votes
0answers
25 views

Allowing access from only a specific IP does not work

I would like to access port 22 (ssh) of a computer whose OS is Xubuntu 15 from a specific laptop with Windows 10 and external IP x.x.x.x using Putty via Internet (i.e., these computers are not in the ...
0
votes
0answers
18 views

Ubuntu ufw external url calling

I got a Network firewall related issue While calling one external(third party web service) URL from Ubuntu server. It showing one warning in Apache logs as follows file_get_contents failed to open ...
0
votes
0answers
41 views

What ports do I need to open for NFS on UFW?

I currently have ports 111, 1110, 2049 and 4045 open and I am having an issue connecting to my kodi clients. When I disable UFW, everything connects just fine. I have googled and haven't found any ...
0
votes
0answers
15 views

GUFW limit access to websites

Do anyone know how I can limit access to certain websites during specific hours of the day using GUFW? If GUFW do not have this ability, what can I use instead to achieve this function?
0
votes
0answers
38 views

Adding ufw rules during a preseeded installation

I've been trying to automatically add UFW rules to allow SSH access during an installation of 16.04 while using a preseed file. However, none of the documented methods result in port 22 being open ...
0
votes
0answers
69 views

How can I set up a VPN server using L2TP over IPsec with strongswan and ufw?

I'm having lots of trouble getting strongswan and L2TP to work. I'm also having lots of trouble finding a relevant and accurate guide for how to set it up. Would someone please provide a good step-...
0
votes
0answers
16 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
0answers
15 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
0answers
34 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 ...
0
votes
0answers
53 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
0answers
37 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 ...
0
votes
0answers
97 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
51 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
9 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. Shouldn'...
0
votes
0answers
51 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
86 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 ...
0
votes
0answers
52 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 3....
0
votes
0answers
52 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
38 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
0answers
30 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
0answers
150 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
0answers
32 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 ...
0
votes
0answers
36 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. ...