Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

0
votes
1answer
10 views

Ubuntu noob, problem with IP masquerading; “Error saving the document ufw”?

I'm a noob and I'm used to the limited version of Ubuntu offered on TAILS, never did anything really technical with it, so i'm a complete noob here. I installed Ubuntu on my laptop. I have an UFW ...
1
vote
1answer
16 views

Uncomplicated Firewall (UFW) is not blocking anything when using Docker

This is my first time setting up an Ubuntu Server (14.04 LTS) and I am having trouble configuring the firewall (UFW). I only need ssh and http, so I am doing this: sudo ufw disable sudo ufw reset ...
0
votes
1answer
23 views

“Error getting authority: Error initializing authority: Could not connect: No such file or directory” when running gufw

I am trying to run gufw to enable traffic through port 443 (for Ogar, not Skype), and gufw logs: Error getting authority: Error initializing authority: Could not connect: No such file or directory ...
0
votes
0answers
10 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
14 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
1answer
71 views

How to configure UFW for a basic desktop / laptop? [closed]

Reading this answer about enabling UFW, I understand that a computer without firewall can be safe in my local network, but this same safe configuration on a laptop used outside of my local network ...
2
votes
1answer
76 views

UFW - allow range of IP addresees?

I can add a rule using UFW firewall to allow a single known IP 192.168.1.32 to access my test webserver (192.168.1.48 (on a local mostly trusted network) on Ubuntu 14.04 using: sudo ufw allow proto ...
0
votes
2answers
59 views

Open port 80 on Ubuntu server

I'm just starting out in ubuntu/linux, and have some trouble opening port 80 for incoming connections. I ran the sudo ufw allow80/tcp command, and when I run sudo ufw status the result looks like ...
0
votes
1answer
37 views

Forwarding all Internet Traffic over VPN (PPTP UFW)

I've set up a VPN using the guide here but what I cannot seem to get working is forwarding all my internet traffic over the VPN. I can connect and view the other machines on my network. I am using ...
0
votes
1answer
24 views

ufw rule updates don't take effect

I decided to close some ports on my machine running Ubuntu 12.04 so I closed them via: sudo ufw deny <port num> I tried closing all ports, including port 80 to see if it would work but I'm ...
0
votes
0answers
15 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
1answer
34 views

What's the scope of `ufw` and its implicit Deny rule with regards to my network?

Is the implicit deny of UFW only for when people are connecting to its IP address or for the whole network? I have tried telnet to the IP address and yes it gets denied but when I tried to telnet to ...
0
votes
1answer
25 views

UFW Firewall rule not working

I have an ubuntu vm which runs the UFW and a microsoft xp professional. The ip address of the ubuntu is 192.168.254.132 and so I made the xp have a static ip address of 192.168.254.131 so they will be ...
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
1answer
181 views

UFW & VPN : How to allow reconnection

Here are the rules of my firewall : deny outgoing deny incoming allow out from any to any on tun0 (alow just the traffic from the VPN) However, I am forced to disable ufw when I want to start my ...
0
votes
0answers
31 views

UFW blocking 169.254.0.0 (link-local / apipa) addresses?

When using iftop on my wlan0 interface, there are a few link-local addresses connecting. How and where can I filter these connections? I have very specific UFW rules blocking 169.254.0.0/16, but I ...
0
votes
0answers
30 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
1answer
79 views

ufw port accessible locally but not remotely

I am trying to access an application on my server I have running on port 8000. From the server I can access the application via curl mydomainname.com:8000 from any other machine I just get curl: (7) ...
2
votes
1answer
58 views

How to run 'ufw' without interactive mode?

I want to run ufw Uncomplicated Firewall from python script but it usually runs in interactive mode. Example: subprocess.check_output(["ufw", "enable"]) Has the following output: 'Command may ...
0
votes
1answer
41 views

Ubuntu 12 ufw not allowing connections even if it says Anywhere?

Currently I can't seem to connect to my Ubuntu 12.04 server unless I disable my ufw or if I do a "ufw allow ip_address". When I do a "ufw status" I get the following: I deleted the allow my ...
0
votes
0answers
96 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
1answer
65 views

UFW blocking connection every minute at home [duplicate]

I'm using a router to connect to the internet at home. I used a long password with WPA2/AES, changed the SSID and changed the default password. But strangely, even if I disconnect the router from the ...
1
vote
0answers
124 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 ...
0
votes
0answers
50 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
126 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 ...
0
votes
1answer
102 views

No UFW logs at syslog

I'm using here the UFW as a basic protection. When I'm using the wi-fi from the college I get some UFW block (which is normal, because the firewall is ON). But strangely, I'm not getting any UFW logs ...
0
votes
1answer
170 views

Configure UFW to allow only established and related conections (on IPv4)

I want to configure ufw to deny everything except the related and established connections. On iptables I usually did : -P INPUT DROP -P FORWARD DROP -P OUTPUT ACCEPT -A INPUT -m state ...
0
votes
1answer
96 views

UFW wont delete rule

I was testing something and added a rule to my firewall to allow port 9000. in retrospect, I should have just disabled it temporarily. anyhow, I went to remove the rule and it wont let me, it says ...
2
votes
1answer
284 views

Why does my firewall reset upon reboot?

I host gameservers on my dedicated server and was setting up the firewall a few days ago (had to set everything up again, hard drive failed and I forgot to back-up). Everything ran fine, firewall ...
1
vote
1answer
147 views

UFW - How to make it easier and what are stealth ports can UFW have these? [closed]

Let me show u what I jusat wasted 2 hours doing: To Action From -- ------ ---- 22 REJECT Anywhere 23/tcp ...
0
votes
1answer
66 views

After I installed UFW ssh login very slow

I'm wondering if I made a mistake or if this is the normal case. I turned off password based ssh login and changed it to RSA key exchange. After that I changed the ssh port and then I installed UFW. I ...
2
votes
1answer
637 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: ...
0
votes
0answers
82 views

Firewall Config to get access to ports via eth0

My headless ubuntu Server has an OpenVPN client that connects to a gateway provided by PIA. I gathered some settings provided here to basically setup kill switch I have a domain that redirects to ...
0
votes
0answers
78 views

SSH UFW: ERROR: Could not find a profile matching 'ssh'

I am installing a new server. I am using ssh to connect but when I try to install ufw and allowing ssh: sudo ufw allow ssh I get ERROR: Could not find a profile matching `ssh` It is kind of ...
0
votes
1answer
170 views

How can I allow ap-hotspot in ufw Ubuntu 14.04?

When ufw is enable android stuck in obtaining ip address and cannot connect to wifi. I try sudo ufw allow dhclient and sudo ufw allow dnsmasq bot both had ERROR: Could not find a profile matching ...
0
votes
0answers
41 views

I don't have a port allowed in UFW but still able to access server CP at it

Default of firewall (UFW) is to deny all that isn't allowed well 8083 isn't allowed but i'm still able to access the control panel with https://serverip:8083 Status: active To ...
1
vote
1answer
310 views

Configuring NAT with ufw instead iptables

I want to apply this iptables rule: iptables -t nat -A PREROUTING -d 87.13.180.182 -j DNAT --to-destination 192.168.0.13 (87blabla is my public ip and 192blabla is my private ip). People ...
0
votes
0answers
194 views

NFS+ufw+Autofs not working

Setup: Client server running Ubuntu 14.04 connecting to another Ubuntu Server 14.04 on NFSv4 on a local LAN. I have the firewall turned on, with routing rules to allow 192.168.42.0/24 (from/to any). ...
0
votes
0answers
131 views

KVM client only has internet with ufw disabled

I have just installed a client OS (Windows 7) using libvirt and everything is fine. I have bridged an interface (br0) for my guest OS and I can ping my entire local network but I don't have internet ...
1
vote
0answers
56 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 ...
0
votes
0answers
56 views

Allowing Longview in UFW firewall; how do these iptable rules translate to UFW-commands?

Linode has some documentation on allowing its product "longview" to go through the firewall. It offers two commands for iptables: iptables -I INPUT -s longview.linode.com -j ACCEPT iptables -I OUTPUT ...
1
vote
1answer
61 views

How do I use Juju local with a firewall?

While using ufw (Uncomplicated FireWall) and I noticed that the local juju machines were stuck in a pending state. $ juju status environment: local machines: "0": agent-state: started ...
0
votes
0answers
92 views

Do I need to create a firewall rule after installing Android Studio?

Since I installed Android Studio, I have a new network device: virbr0. My system log files keep telling me ufw rejected an incomming connection (one time per minute) wich is kind of annoying because ...
0
votes
1answer
111 views

ubuntu server 14.04 port 21 keeps closing

I have got a problem with port 21, which keep closing. I am using proftp and ufw and set port 21 to internal network only. This works fine, however, after a few hours or days (not sure on time ...
0
votes
1answer
43 views

Ubuntu server drop ping for specified interface

I am searching for a possibility to drop the ping packets for my ppp0 interface, but allow them for eth0. I use ufw know that i can reject ping by changing lines in /etc/ufw/before.rules But thats ...
0
votes
1answer
489 views

UFW not enabled at startup

I have enabled the UFW in terminal using "sudo ufw enable" ... But, UFW does not appear to start when the computer starts. After the computer starts, I check the status of the UFW using "sudo ufw ...
1
vote
1answer
760 views

UFW Ctrl-C and iptables: Chain already exists

I did a dumb thing, so bear with me. While running a ufw command to add a rule, I did a Ctrl-C, this led to the problem of the following error being generated every time I try to use UFW: ERROR: ...
0
votes
0answers
29 views

Using ufw as a firewall between network segments

I've been using Ubuntu server 12.04 as a router and it worked. Now I'm trying to add some security using ufw. I enabled the ipv4-forwarding feature in the configuration file and added a rule ...
2
votes
1answer
4k views

UFW is blocking all even when I set rules to allow

I am using an ubuntu server, Now I am trying to enable the firewall using these commands: ufw default deny incoming ufw default allow outgoing ufw allow ssh ufw allow www ufw allow https ufw enable ...
1
vote
0answers
44 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 ...