Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

2
votes
1answer
188 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
216 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
34 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
98 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
100 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
32 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
33 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
94 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
63 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
106 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?
0
votes
1answer
1k views

ubuntu server 12.04 and ufw failure on startup, and several module not found errors

I have problem enabling ufw on startup, it works fine if I do: sudo ufw enable. But after restart puf, I've to redo it. I tried: sudo /lib/ufw/ufw-init stop ; sudo /lib/ufw/ufw-init start And ...
0
votes
1answer
296 views

Are the Gufw default profiles empty?

I've just installed gufw on my notebook. I'm trying to setup my laptop with a very secure - roadwarrior - type of configuration. So the choices available in GUFW with a public, home and office profile ...
3
votes
0answers
367 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
931 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
271 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
48 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
21 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
138 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
485 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
75 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
118 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
194 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
973 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
108 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
427 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
534 views

Firewall stopped and disabled on system startup ERROR: problem running ufw-init

I am trying to set a VPN server on my PC (Ubuntu). I am following a tutorial , http://cviorel.easyblog.ro/2009/02/09/how-to-set-up-a-vpn-server-on-ubuntu/. I made changes in various files including ...
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
12 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
19 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
17 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
254 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
14 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
16 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
56 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
22 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
94 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
130 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
163 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
66 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
75 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
129 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
42 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
890 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
138 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
96 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 ...
0
votes
0answers
110 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!
0
votes
0answers
57 views

UFW problem : can not access certain pages

Hello, I configured iptables using ufw to deny traffic from and to anywhere except my chosen ports. This is my /lib/ufw/user.rules : *filter :ufw-user-input - [0:0] :ufw-user-output - [0:0] ...