Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

0
votes
1answer
90 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
119 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
131 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
111 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
99 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 ...
1
vote
1answer
83 views

Gufw is running, but no ufw process running. Normal?

Gufw is protrayed as a front-end to ufw, but when Gufw is running, I don't see ufw running. When run ps -ef | grep ufw, should it report processes for both ufw and gufw, or would we only see gufw if ...
5
votes
1answer
339 views

UFW Firewall GUI

Im on Ubuntu Vivid 15.04. I have UFW enable. I need some GUI to manage it. Does anyone know or ever use UFW firewall GUI?
1
vote
1answer
131 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 ...
0
votes
0answers
73 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
31 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
1answer
174 views

ufw allow port from ip address range and deny others

I'm using Ubuntu 14.04.3 LTS root@alexus:~# ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), deny (routed) New profiles: skip To ...
0
votes
1answer
149 views

Inter container network communication blocked in docker

I am starting with docker and I have decided to spin up my gitlab instance in a container as well as gitlab-ci-multi-runner to perform my CI builts (just to test the possibilities of the flow). ...
2
votes
2answers
97 views

Command substitution using grep'ed and sed'ed tail -f output as argument source into 'at' command

This is for a home surveillance system, headless server running Ubuntu 15.04, and I want its security to be exemplary. I envision a command line solution (with optional script, if absolutely ...
1
vote
1answer
28 views

Is sed the way to extract a number which is to become part of a command line being constructed?

In /etc/knockd.conf I want a command that will be a ufw insert [line number]... command, the line number is dynamic and can be gotten from finding the first ALLOW occurrence in the ufw status numbered ...
0
votes
0answers
97 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
26 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) ...
1
vote
1answer
127 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
401 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) ...
1
vote
1answer
370 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
3k 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
124 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
155 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
103 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
71 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? ...
2
votes
1answer
189 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
50 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 ...
3
votes
1answer
2k 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
353 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
55 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
136 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
543 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
2k 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
8k 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
214 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
133 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
18 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
95 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
91 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
7 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
3k 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
1answer
124 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
1answer
370 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) ...
3
votes
1answer
473 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
129 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
1answer
281 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
400 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
1answer
166 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
689 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 ...
4
votes
1answer
1k 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 ...