Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

0
votes
2answers
96 views

How to make room in /var/log partition

Tracking ubuntu 14.04.3 firewall info I enabled ufw full login for a while (now turned back off). Now I'm warned I run out of space in the /var partition. Looking there in I find 3 huge files: kern....
0
votes
0answers
133 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
2answers
74 views

Do I need iptables or ufw if I have gufw?

On my Ubuntu computer I have Iptables,ufw and gufw installed on it but I am trying to figure out if I need to remove one so I did a experiment and removed iptables and I saw ufw and gufw was removed ...
0
votes
2answers
54 views

Why does Ubuntu comes with two firewalls by default?

I just realised Ubuntu comes with two firewalls by default iptables and ufw. But why? I mean running more than one software firewall on one computer can be insecure, that's what they say. I don't ...
0
votes
1answer
25 views

Filtering between 2 sub-networks with UFW?

On my server I have set-up 2 networks (eth1:172.16.1.0/24 and eth2:172.16.2.0/24) which should both communicate to the internet (interface eth0). Thus the server does the masquerading with ufw. /etc/...
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 ...
1
vote
0answers
134 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
1answer
129 views

How to debug connection issues caused by ufw/iptables?

My current ufw setup is causing problems, specifically with git, and I suspect this will not be the last time it causes connection problems. What should be the debug procedure to understand what/...
5
votes
2answers
973 views

How to configure UFW to allow ntp to work?

I've enabled UFW on one of production servers with configuration: Default: deny (incoming), deny (outgoing). For NTP synchronization, I've installed ntp and it's currently running. Can someone advise ...
1
vote
1answer
202 views

Forward only web traffic to another interface

My Ubuntu server has two interfaces. 1) Public - eth0 2) Internal - eth1 How can I forward web traffic (port 80) to nginx running on eth1 from Public interface eth0 ? I don't know exact ufw ...
0
votes
1answer
65 views

Hamachi is able to ignore firewall

Hello I recently installed Hamachi and Haguichi. I created a network and my friend joined. So I hosted a game and the port was 1100, I think, but the problem is that he was able to join althrough I ...
0
votes
1answer
27 views

ufw not securing ports

I have configured ufw in the manner below. What is puzzling is ports that I have instructed to block both outbound an inbound are connected. Why? My current ufw configuration vs. open port via ss -...
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. ...
0
votes
2answers
106 views

How to disable UFW ubuntu externally?

i am using amazon EC2, i enabled UFW in my server and without adding any other rule i logged out. now since there was no rule specified, i am not able to login to ssh and because of it even my website ...
0
votes
1answer
102 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
128 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
160 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
23 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
119 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
111 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
101 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
353 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
145 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
77 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
32 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
181 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
180 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
103 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 necessary)...
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
104 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 pulledpork....
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
136 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
434 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
429 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 ...
2
votes
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
131 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
176 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
123 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
77 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? incoming(deny),outgoing(deny),...
2
votes
1answer
236 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
52 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 ...
4
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
374 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
59 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
141 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
602 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
3k 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
3answers
9k 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
233 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
144 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 ...