Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

3
votes
1answer
5k views

How do I allow local subnets in ufw?

I recently got IPv6 connectivity at home and now I would like to allow connections to my home server via IPv6 from the LAN only. The trick is that the IPv6 address/prefix assigned to the server is ...
2
votes
1answer
201 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
222 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
104 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: ...
1
vote
1answer
108 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
103 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
45 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
47 views

How do I remove all the ufw chains from iptables?

I've removed ufw and I want to get rid of all the chains it leaves behind. How can I do that easily?
0
votes
1answer
118 views

Setup NAT on Ubuntu 14.04

I'm trying to insert my desktop between an appliance and the rest of the network to monitor the traffic coming off of it due to some security concerns. I'd like to setup NAT so that the devices behind ...
0
votes
1answer
83 views

network bridge not forwarding traffic from span port on router

I want to run several security network tools in LXC containers like ntopng, suricata, snort, etc. I hooked one of my server's NIC's up to a port that is spanned to my firewall... so basically this ...
0
votes
1answer
130 views

Processes in docker cannot connect with ufw enabled

I'm trying to setup a server to use ufw with docker (via dokku.) When ufw is enabled, I cannot open connections from one container to another. When it's disabled, I can connect fine. As an example, I ...
0
votes
1answer
139 views

Preseed file whith ufw command do not work

In Trusty the command ufw ufw/enable boolean true works very well, but the ufw ufw/allow_known_ports multiselect SSH do not work. Why?
3
votes
0answers
375 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
935 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
276 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
49 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
23 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 ...
1
vote
0answers
155 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
539 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
79 views

Can't access Flask from local network

I've already read this thread, but it is not what I'm looking for. I'm running Flask on Ubuntu 13.10 with this configuration, but I can't access it from the local network using the correct ip and port ...
1
vote
0answers
124 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
204 views

Unable to bridge using OpenVPN on Ubuntu 12.04 Server

I set up an Ubuntu Server 12.04 LTS in my LAN and forwarded tcp port 1194 to it. OpenVPN-Server is running, the Client (Ubuntu 12.04 LTS) can connect. Device tap0 is visible on client: tap0 ...
1
vote
0answers
1k 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 ...
1
vote
0answers
110 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
447 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 ...
1
vote
0answers
2k views

IP forwarding not working in Ubuntu 12.04 Server

I'm having trouble getting IP forwarding going in Ubuntu 12.04 server with UFW. I'm trying to get OpenVPN working. I have two interfaces, eth0 and tun0, and they can't ping each other. I've made the ...
0
votes
0answers
13 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 ...
0
votes
0answers
11 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
0answers
17 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 ...
0
votes
0answers
22 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 ...
0
votes
0answers
26 views

Writing exceptions in ufw to the default forwarding policy

I've tried setting DEFAULT_FORWARD_POLICY in /etc/default/ufw to both REJECT and ACCEPT and then writing rules to create exceptions to the default forward policy. No matter what I do, it appears to ...
0
votes
0answers
565 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 ...
0
votes
0answers
21 views

Multiple rate limits in ufw

I have set two rate limits in ufw: In summary: limit http to 120 requests in 60 seconds; and 600 requests in 600 seconds -A ufw-user-input -p tcp --dport 80 -m state --state NEW -m recent --set -A ...
0
votes
0answers
17 views

How to configure ufw to allow ruby gem installs on 12.04?

I have the following setup: To Action From -- ------ ---- 10022 ALLOW IN Anywhere 80 ALLOW IN ...
0
votes
0answers
73 views

UFW behind a router blocks traffic from the outside world

I'm seeing [UFW BLOCK] entries in my logs, where SRC=173.194.67.16 DST=192.168.1.2. My box is behind a router, DST is my internal IP, SRC seems to some Google server and I don't understand how is it ...
0
votes
0answers
24 views

iptables debugging on ubuntu 12.04

ufw was blocking the incoming ssh connection. So removed and purged the ufw still the incoming ssh connection is blocked. But there is not logs in dmesg output. I am sure sshd is running, tested ...
0
votes
0answers
112 views

Ubuntu Server and ufw as a router - defining IP addresses that can be routed

I built following network with Ubuntu Server: Internet ---- eth0 (DHCP, NAT) -- Ubuntu1 -- (eth1 10.1.0.1/16) ------> <------ (eth0 10.1.0.2/16) -- Ubuntu2 -- (eth1 10.2.0.1/16) ------ ... ...
0
votes
0answers
139 views

iptables rules keep showing up

I just installed an ubuntu precise server, after a few weird communications issues I checked the iptables list and found: Chain INPUT (policy DROP) target prot opt source ...
0
votes
0answers
174 views

How to reset/flush remove ufw rules in recovery mode in ubuntu 12.04

Hello I think I have mistakenly locked myself from a remote server (ssh). I had a way to restart in recovery mode but it seems ufw is not even installed when in recovery mode. should I follow ...
0
votes
0answers
70 views

Ubuntu 13.10 allows connections from LAN but not from outside LAN

SSH ports configured to all 22 and another one. I can connect from another Linux/Windows workstations on my home LAN no problem. Same thing for nomachines nx server. Teamviewer connects with no ...
0
votes
0answers
80 views

can't allow a specific IP in ufw

I've just got myself a VPS and am completely new to running a server. I've installed ufw as I only want to allow access to it from one particular domain hosted on another server. I've read the ...
0
votes
0answers
135 views

Trouble installing ircd-hybrid

I have installed ircd-hybrid and commented out the host line in /etc/ircd-hybrid/ircd.conf I have also allowed ports 6665-6669 in ufw and restarted ircd-hybrid This is the error I get when trying ...
0
votes
0answers
45 views

why are glided and glideusd listenening on tcp ports 3490 and 3492?

Ubuntu 12.04 LTS Dell factory pre-install on a Precision M4800. ~$ sudo ufw show listening tcp: 3490 * (glided) 3492 * (glideusd) I believe these are related to the glidepoint touchpad, but why ...
0
votes
0answers
19 views

Notificaciones de Ufw

Anterior Utilize Gufw y firestater ellos me daban notification de conneciones no desea a puertos y/o cualquier tipo de accion que no yo no quiciera pero estoy avanzando a ufw (La Base y no logro ...
0
votes
0answers
21 views

How do I grant UFW manage access to a particular user?

I would like to allow a particular user the permission to run "ufw allow" (or equivalent). Ideally without giving that user the ability to run other privileged commands, or give firewall authority to ...
0
votes
0answers
939 views

How to configure ufw to really allow outgoing connections

I have hard time to understand how ufw should be configured. The problem is that I allowed outgoing traffic, and still I cannot do virtually anything. I'm using Ubuntu 12.04 on VPS. ufw --version ...
0
votes
0answers
146 views

Why is UFW ignoring rule order?

I have two interfaces, one is eth0 and the other is a VPN over tun0. user@server:~$ ifconfig eth0 inet addr:192.168.1.80 Bcast:192.168.1.255 Mask:255.255.255.0 tun0 inet addr:10.4.0.100 ...
0
votes
0answers
101 views

VPN won't connect while ufw is enabled

I use a paid VPN service which uses OpenVPN. It works great and I have been pleased with it for months now. Recently, I enabled, and began configuring, the firewall that is provided with Ubuntu ...
-1
votes
0answers
19 views

Kernel 3.18 causes pptp VPN to fail if UFW is enabled

Folks, I would like to submit a bug ("i think"), but i first wanted to check with this community to: see if it is really a bug, and not a feature or an ID10T error get your advice on what files i ...
-1
votes
0answers
116 views

my port is allowed by ufw but remains closed and connection is denied by ubuntu qbittorrent, Why?

my incoming port is allowed by ufw but remains closed and connection is denied by ubuntu qbittorrent, Why? ps: i have open DNS please help! thanks!