Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

2
votes
1answer
2k views

ERROR: problem running ufw-init

I tried setting up ufw on my remote Ubuntu 14.04 server so i installed it and allowed ssh with the command sudo ufw allow ssh after that I tried to enable ufw but I get the following error: ...
2
votes
1answer
388 views

Can't Get UFW Firewall to Allow Anything

I'm trying to set UFW (using GUFW) to create a firewall that only allows network connections when OpenVPN is connected. So in GUFW I deny incoming and outgoing connections and enable the Firewall. I ...
2
votes
1answer
278 views

Using Ubuntu as a gateway for monitoring and possibly IPS IDS within Active Directory

Ok, I've searched for days, maybe you can point me in the right direction. I have an MPLS scenario with a shared gateway in a multi-domain M$FT AD environment. On the inside of the MPLS all of the ...
1
vote
1answer
87 views

Will enabling ufw through ssh disrupt current session?

I have an ubuntu server that I access through SSH. I've changed standart port (22) to something else. I want to enable ufw on this machine. However, I'm afraid of the possibility of the following ...
1
vote
1answer
202 views

How to block ip forwarding for specific remote ip address

I use ubuntu as gateway for several hosts. I need advise how to block ip forwarding for specific ip address or specific ip range? I tried to block ip via ufw deny rules, but it looks like ip ...
1
vote
1answer
141 views

How to add a rule for loggin packets in ufw

I'm seeing a lot of connections with source 0.0.0.0 and destination 0.0.0.0 in conntrack. I want to log these packets which have source 0.0.0.0 and destination 0.0.0.0 so that I can digg this issue ...
0
votes
1answer
30 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
46 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 ...
3
votes
0answers
4k views

UFW for OpenVPN

I want to configure ufw (uncomplicated firewall) for OpenVPN. Connections are only allowed through OpenVPN. Everything else should be blocked. So if OpenVPN is disconnected -> no internet! I found ...
3
votes
0answers
488 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
54 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
401 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
58 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
69 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
332 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
73 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
61 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
138 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
464 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
1k 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
200 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
143 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
596 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
14 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
22 views

How can I speed up my 103 sec boot time(dmesg output included)?

I was hoping that people might have suggestions as to how I can speed up my boot time. At the moment, as you can see below, it's taking all of 103 seconds. I have noticed a few bottlenecks at around ...
0
votes
0answers
12 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
12 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
34 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
19 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
56 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
29 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
20 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
0answers
20 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
0answers
57 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 ...
0
votes
0answers
55 views

ufw not working anymore

This morning I needed to do some firewall tweaks on my machine (Ubuntu 14.04 LTS; Mac Mini). After running ufw status verbose, the following errors were shown: Traceback (most recent call last): ...
0
votes
0answers
21 views

ufw: allow connection to the firewall itself?

If I understand ufw (Uncomplicated Firewall) the right way, then commands like ufw allow in on eth0 to any port 80 allows connections from eth0 to any other network interfaces and to the firewall ...
0
votes
0answers
65 views

SNORT - configuration to use it with VPN

my all network traffic goes trough VPN. Status of ufw: Default: deny (incoming), deny (outgoing), disabled (routed)/ ALLOW OUT Anywhere on tun0. snort.conf - http://pastebin.com/rvyYcCke ...
0
votes
0answers
24 views

Unable to browse when on VPN (OpenVPN) and UFW in place

I have set up an OpenVPN server using a script. I have set up the following UFW rules: 22 ALLOW IN Anywhere 1194/udp ALLOW IN Anywhere 22 (v6) ...
0
votes
0answers
307 views

ping localhost: socket: Permission denied

I messed something up and pinging any hostname gives me "unknown host", and pinging localhost or 127.0.0.1 gives me "socket: Permission denied", even on root. Connecting to the machine (ssh/openvpn) ...
0
votes
0answers
54 views

Configuring strong firewall rules

How to configure strong firewall settings via ufw? All inbound settings set to deny and only specific outbound ports to be allowed. Will the following be good enough? ...
0
votes
0answers
43 views

How to enable remotely access?

I'm trying to access remotely my 8080 port but when I try to check if it is opened the site ("http://www.portchecktool.com/") tells me that the port is closed. Here's my ufw status: sudo ufw status ...
0
votes
0answers
93 views

Firewall configuration behind a proxy

Web access is given via a proxy server(port 8080). What inbound and outbound rules should one set up in the firewall(via ufw)? Is deny(incoming) and deny(outgoing) with an exception of "8080, allow ...
0
votes
0answers
17 views

Ubuntu UFW extending to whole network

UFW only allows the firewall to work within where it is installed. I was wondering if I made my ubuntu a wireless access point and other computer start connecting to it will UFW work for the other ...
0
votes
0answers
6 views

UFW keep close after running les than 24 hrs

I have tried to start the ufw ufw enable It it started. But it will stopped again in less than 24 hrs. How to make it keep running?
0
votes
0answers
49 views

Should I add fail2ban to the following security setting?

I apologize if this is not the right forum, I am new to the StackExchange communities and Linux in general and it seemed like it could belong in a few different ones. I am using a VPS running ...
0
votes
0answers
210 views

unable to start (Ubuntu server 14.04) iptables service it show “Unrecognized service”

Ubuntu server 14.04 iptables service start shows: Unrecognized service
0
votes
0answers
77 views

Problem running ufw on Ubuntu 14.04 server

ufw is supposed to be the easy firewall for Ubuntu, but I seem to still having missed something. After a fresh install on my 14.04 server, and leaving it default, the terminal will freeze after ...
0
votes
0answers
234 views

ufw on ubuntu doesn't work, how to deactivate plesk firewall?

Since I'm a totally newbie to server stuff but I needed to set up a vServer, I let install Ubuntu 14.04 AND Parallels Plesk on it. Now, I think it would have been better to install Ubuntu without ...