0
votes
0answers
24 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
1answer
20 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
0answers
35 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 ...
1
vote
2answers
35 views

The program 'iptables' is currently not installed

I am a newbie, so my apologies up front. I am trying to get DansGuardian installed (which I believe I have) and working. To get it working I need to filter IP traffic through the app via iptables. ...
1
vote
0answers
88 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 ...
0
votes
0answers
84 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 ...
2
votes
3answers
193 views

14.04 missing “/etc/init.d/ufw”? my firewall never auto starts

I need to know how to fix the missing "/etc/init.d/ufw" file, is it some package or some command? I used the gufw to enable it, but on reboot my firewall was still off... I created a symlink ...
0
votes
0answers
54 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 ...
1
vote
0answers
314 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 ...
0
votes
1answer
116 views

configuration for ufw to allow upnp between desktop and xbox360

I am really stuck with this question. I am using Ubuntu 14.04 I cannot enable UFW to allow a connection between my desktop and Xbox 360 stream media when UFW is enbaled. The connection and streaming ...
3
votes
1answer
190 views

Docker is blocked by UFW

I have problem with Docker network in ubuntu 14.04. I have installed Docker.io from official repo and I've added DEFAULT_FORWARD_POLICY="ACCEPT" to /etc/default/ufw but my Docker containers still ...
4
votes
2answers
427 views

UFW rules don't work with docker

I have a 12.04.4 server, and I have enabled ufw, and have tried to block port 8080. However, it is still open. $ sudo ufw deny 8080 Rule added Rule added (v6) $ sudo ufw status numbered Status: ...
0
votes
0answers
53 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 ...
1
vote
0answers
52 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 ...
2
votes
1answer
150 views

ufw firewall disabled - How to turn it back on?

I am using Ubuntu 12.04 and just recently noticed, that my ufw-firewall is turned [off]. I know It's turned [off] by default, but when I set Ubuntu up, I turned [on] the firewall with: sudo ufw, but ...
0
votes
2answers
604 views

Problem with ufw enable: libkmod: ERROR ../libkmod/libkmod.c

I am trying to enable ufw and this is the output: root@p:~# ufw enable Command may disrupt existing ssh connections. Proceed with operation (y|n)? y ERROR: problem running ufw-init libkmod: ERROR ...
2
votes
2answers
107 views

Why does DEFAULT INCOMING DENY not stop Firefox from working?

If UFW is actually not an application layer firewall but a "interface to iptables", how can it be if I have by DEFAULT INCOMING DENY and OUTGOING ALLOW setting that ANY internet application is ...
0
votes
1answer
153 views

UFW locks me out of server everytime I run it

Background: I'm setting up a new 12.04 instance on a VPS with a new provider.The VPS provider only offers a 32bit image but that really shouldn't matter here. I have no local access to the machine and ...
2
votes
1answer
159 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 ...
0
votes
1answer
62 views

why Ubuntu Firewall not showing verbose?

Even Ubuntu Firewall in running mode , I am not getting the data. may I know why ? root@ubuntu:~# sudo ufw status numbered Status: inactive root@ubuntu:~# service ufw start start: Job is already ...
2
votes
2answers
511 views

UFW not blocking connections to docker instance

I have a webservice running inside a docker instance which was run using the following command: sudo docker run -d -p 4040:4040 .... My UFW rules look like this: ~ sudo ufw status Status: active ...
1
vote
0answers
101 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 ...
2
votes
2answers
908 views

how do you create an app profile for ufw?

Ufw has a command that lists out profiles to which you can further explore their profile definitions $ ufw app list And $ ufw app PROFILE {app profile title} I was wondering how you can ...
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 ...
2
votes
2answers
267 views

UFW and firewall

So I recently installed ubuntu and I have been working with it no problem.While browsing through the security guides (specifically: https://wiki.ubuntu.com/BasicSecurity) I noticed this: "enable the ...
0
votes
0answers
53 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] ...
0
votes
0answers
241 views

Foraward Traffic from local machine to proxy server using iptables

I am using Ubuntu Server 12.04. My IP is 192.168.4.160. I want to route the HTTP traffic generated locally from my system destined to a particular URL (say x.x.x.x) to pass through proxy server. My ...
0
votes
0answers
154 views

I have UFW block messages from local network machines, how can I analyse if they are malicious?

I'm getting a lot of messages in my UFW log, and I'm trying to figure out if these are malicious or just normal. A UDP broadcast is coming from a windows laptop x.x.x.191, and some from our synology ...
4
votes
1answer
1k views

Ban IP by country in UFW

I want to block a country in my server, but I don't know which rule I must use in UFW (or iptables). For example, people from US and other countries can see the site, but visitors from Russia can't. ...
0
votes
1answer
465 views

UFW, allow from wlan to eth

I would like to use my ubuntu 12.04 notebook as a wifi hotsport to my smatphone. Everything is going ok, using dnsmasq and hostapd and allowing ports 68 and 53 on UFW. But to access the web the UFW ...
0
votes
1answer
920 views

Connecting to NAT virtualbox guest from bridged network

I've setup a Virtualbox Ubuntu 12.04 server using Vagrant. I can ssh to it and even ping my desktop from it. What doesn't work is to ping the guest OS from my desktop. I've tried to flush the ...
3
votes
1answer
115 views

UFW python documentation

I'm trying to access ufw with python, but on line 53 of backend.py, they raise a weird error that makes no sense: Traceback (most recent call last): File "mymodule.py", line 1467, in ...
1
vote
1answer
87 views

How does ufw handle conflicting rules?

I recently had the following conflicting rules on ufw 445/tcp ALLOW 192.168.1.0/24 445 DENY anywhere 445 DENY anywhere IPV6 ...
1
vote
0answers
847 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
376 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 ...
3
votes
2answers
2k views

Why is ufw logging 'BLOCK' messages regarding a port for which ufw is configured to 'ALLOW' connections?

Here's an example log message: May 25 10:36:07 myserver kernel: [7057243.392334] [UFW BLOCK] IN=eth0 OUT= MAC=00:02:55:67:82:eb:00:06:b1:3a:ef:62:08:00 SRC=69.197.128.26 DST=192.168.100.101 LEN=44 ...
1
vote
2answers
1k views

ufw firewall operation

I have always run the program UFW as my firewall in Ubuntu, and been satisifed with its performance. When I installed Ubuntu 13.04, and enabled ufw, I was not able to access the internet, and all ...
2
votes
1answer
4k 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 ...
0
votes
1answer
3k views

UFW 'default deny incoming' doesn't work

I have UFW enabled, 'default deny incoming' set and no any additional rules, but I still can access all ports from other PCs. I have to manually block each port. What can be wrong?
3
votes
2answers
4k views

What could be the cause for these strange UFW block entries in my syslog?

I've recently noticed a large number of recurring UFW blocks in my syslog. This surprised me as I have no UFW rules set: $ sudo ufw status verbose Status: active Logging: on (low) Default: deny ...
0
votes
1answer
799 views

How do I configure ufw to only allow outgoing/established connections for a IPv6 network?

How do I configure ufw to only allow outgoing/established connections for a IPv6 network? I am using an old computer with 12.04 installed to create an IPv6 router for my local network. I would like ...
1
vote
1answer
443 views

Setup firewall: ask user to allow new incoming/outgoing traffic?

I'm using Ubuntu 12.10 and as I know there is already a firewall on any ubuntu system. It's ufw and because I like fancy gui stuff I can use gufw, that's very nice. Now I would like to configure this ...
5
votes
2answers
1k views

Is it possible to block a webpage using ufw?

basically I have two machines X and Y. I want to block "http:// <IP-of-Y-Here> /AFolder/" from machine X on HTTP port 80 using ufw. Trivially, this can be completed (awfully) using ufw ...
2
votes
2answers
1k views

firewall ufw is “enable and active” but gufw is off

question concerning the ufw firewall : sudo ufw enable returns Firewall is active and enabled on system startup sounds fine, but when i start gufw after reboot, it is still off what does that ...
0
votes
2answers
1k views

Problems allowing outgoing multicast in ufw

I am having problems configuring the uncomplicated firewall (ufw) to allow outgoing multicast traffic. I am blocking all in and outgoing connections as the default policy. I have supplemented with the ...
1
vote
1answer
168 views

User to access only to specific IP addresses

How can I setup Ubuntu box so logged user can access only to several IP addresses, on all protocols? Additional problem is that Ubuntu uses proxy to acceess to internet. Tried with UFW, but did not ...
1
vote
0answers
503 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
1answer
646 views

ufw configuration nat ppp0

please some tips how i can allow this request in ufw: [UFW BLOCK] IN=ppp0 OUT=eth0 MAC= SRC=10.11.22.2 DST=8.8.4.4 LEN=71 TOS=0x00 PREC=0x00 TTL=127 ID=52 PROTO=UDP SPT=59405 DPT=53 LEN=51 i tried ...
1
vote
0answers
180 views

Ubuntu all versions from 10.04 till 12.10 [closed]

Is simply enabling the firewall ufw (sudo ufw enable) sufficient enough for protection of the OS ? I mean should extra rules be added for 'better' protection, or is simply enabling the firewall enough ...
0
votes
1answer
3k views

Port listening on localhost:8000 but not on ip:8000

Hello I'm running a web application on port 8000. When I access it from the host server localhost:8000 it responds ok, 127.0.0.1:8000 also works, but 192.168.1.7:8000 does not work. 192.168.1.7 is the ...