Uncomplicated Firewall (ufw)

learn more… | top users | synonyms

2
votes
1answer
789 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: ...
2
votes
1answer
309 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
259 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
404 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 ...
1
vote
1answer
166 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
128 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
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 ...
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
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
1answer
124 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) ...
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
215 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 ...
3
votes
0answers
3k 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 ...
3
votes
0answers
448 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
1k 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
46 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 ...
2
votes
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 ...
2
votes
0answers
352 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
169 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 ...
1
vote
0answers
61 views

Is this ufw configuration correct?

I have to link my openstack private cloud on a cloud management platform online. The cloud location is on my private ip (192.168.0.9) , i can't use that ip since the platform need a public ip so i ...
1
vote
0answers
46 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 ...
1
vote
0answers
90 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
340 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
1k 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
184 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
136 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
551 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 ...
0
votes
0answers
14 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
0answers
32 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
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? ...
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
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
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
0answers
38 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
0answers
121 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
0answers
56 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
143 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
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
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 ...
0
votes
0answers
211 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). ...
0
votes
0answers
145 views

KVM client only has internet with ufw disabled

I have just installed a client OS (Windows 7) using libvirt and everything is fine. I have bridged an interface (br0) for my guest OS and I can ping my entire local network but I don't have internet ...
0
votes
0answers
63 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
108 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
30 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
55 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
111 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
31 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 ...