Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

0
votes
0answers
14 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
32 views

ufw won't allow connections to port 5432

I've installed Postgresql 9.4 on Ubuntu Trusty from the PGDG ppa. I've created a database and set it listen-address to '*'. I've made an entry in the pg_hba.conf file. I can connect locally with no ...
-1
votes
0answers
17 views

Network Drives Not Mounting on boot untill ufw is disabled/enabled

I am relatively new to Linux but I am enjoying it and even more enjoying learning it. Here is what I set out to accomplish. I have an Windows media box (running win7) that i want to connect the shares ...
0
votes
1answer
38 views

Why cannot allow/deny specific software in ufw Linux?

Why cannot allow specific software (like Firefox) to use internet but deny other software (link Chrome) that are using same port in ufw? In windows there is the feature, why ufw don't have that?
0
votes
0answers
33 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
1answer
16 views

ufw not working in an lxc container

I've created an LXC container on Ubuntu Server 14.04.1 using the default template. I log into it, and run the following: sudo apt-get update sudo apt-get install ufw sudo ufw allow 22 At this ...
1
vote
1answer
58 views

Port forwarding with UFW

I realize UFW is mainly just for enabling/disabling access on particular ports, but I'm trying to forward one port to another. I want any connection to port 1724 to be forwarded to 1723. The file ...
2
votes
1answer
20 views

Check existing ufw firewall rules without enabling it

I'm using Vagrant to run an Ubuntu 12.04 LTS box. $ sudo ufw enable Command may disrupt existing ssh connections. Proceed with operation (y|n)? Obviously, I don't want to disrupt my SSH connection ...
0
votes
1answer
30 views

IPTables/UFW not allowing incoming connection

I have two Ubuntu 14.04 virtual servers. One has IPTables/UFW on and enabled. It also has Vesta Control Panel installed. The other server is running some gaming servers, it does not have iptables ...
1
vote
1answer
42 views

Port 22 is always open

I configured a new Ubuntu Installation and set up the firewall. All incoming was denied and all outgoing was denied as well(with exception for port 8080, as I am behind a proxy). I then tried an ...
0
votes
0answers
26 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? ...
1
vote
1answer
34 views

How to find port of a network scanner for UFW

Samsung multi-functional device SXC 3205w works perfectly with my Ubuntu 12.04 and I can scan and print over network, but only when firewall is disabled. How can I find out which port to enable in ...
0
votes
1answer
17 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
51 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
84 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
19 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
27 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
127 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
114 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
151 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
50 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
34 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
44 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
29 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
424 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
39 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
35 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
125 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
75 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
54 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
122 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
80 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
170 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
57 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
144 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
112 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
219 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
182 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
341 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
184 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
82 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
800 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
93 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
101 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
209 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
43 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
410 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
213 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). ...