2
votes
1answer
34 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
36 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
54 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
51 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
71 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
25 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 ...
0
votes
1answer
120 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 ...
0
votes
0answers
44 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
1answer
161 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
380 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
149 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
43 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
229 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
137 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
821 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
254 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
584 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 ...
2
votes
1answer
79 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 ...
0
votes
0answers
61 views

File sharing through ufw

How do i allow a shared folder through Ubuntu Uncomplicated Fire Wall in 12.04 lts 64bit so windows machines can access it? Do i need to enable ubuntu firewall for file-sharing to windows ...
1
vote
1answer
66 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
590 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
324 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
1k 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 ...
0
votes
0answers
994 views

How to open port 5432 for Servoy (Eclipse) PostgreSQL database server

I'm trying to install Servoy Developer on Ubuntu 12.10. I get a problem during installation with the bundled PostgreSQL database server, because the port 5432 is closed. I tried the following ...
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
2k 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
2k 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?
2
votes
2answers
3k 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
700 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
402 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
699 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
0answers
965 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
157 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 ...
0
votes
0answers
2k views

UFW port forwarding

I use UFW and here is my setup: eth0 is configured as a bridge interface (br0): inet adr:10.0.4.10 Bcast:10.0.4.255 Mask:255.255.255.0 eth2 is connected to a private network: inet ...
1
vote
0answers
443 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
531 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
172 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 ...
3
votes
2answers
6k views

How to configure UFW to allow IP Forwarding?

I have UFW, OpenVPN and Virtualbox installed on my home server. I have a host-only network for my virtual machine guests (vboxnet0) set up with the IP range 10.0.1.0, and another IP range of 10.0.0.0 ...
2
votes
2answers
10k views

How do I allow all possible IPs for Gmail servers through my ufw firewall?

I am currently using the following rule: ufw allow out from my_local_ip to any port 587 This is a little too lax for my liking. I would like to tighten it up and restrict it to only gmail's smtp ...
6
votes
2answers
4k views

What do UFW's audit log entries mean?

I'm sometimes getting a lot of these AUDIT log entries in ... [UFW AUDIT] IN= OUT=eth0 SRC=176.58.105.134 DST=194.238.48.2 LEN=76 TOS=0x10 PREC=0x00 TTL=64 ID=32137 DF PROTO=UDP SPT=36231 DPT=123 ...
1
vote
1answer
86 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 ...
1
vote
0answers
2k views

UFW Settings - Application Integration [closed]

I have installed the Ubuntu system, and deny both incoming and outgoing ports loosing internet access. Now I want access only for my Firefox that I have installed separately from the Firefox website ...
5
votes
1answer
14k views

What are ICMP redirects and should they be blocked?

After enabling ufw and the Tiger security auditor, I see warnings saying: The system accepts ICMP redirection messages What are ICMP redirection messages? Should they be disabled for security ...
2
votes
0answers
555 views

UFW give errors and won't auto start at boot [closed]

I just tried to enable ufw on my server, it gave me this error : ERROR: problem running ufw-init When I tried the second time, it worked. When I tried to set the default rule "sudo ufw default ...
7
votes
4answers
12k views

What rules to use for UFW?

I've decided to enable the UFW that comes with Ubuntu just to make my system even more secure (especially after watching a video of a person whose computer actually got infected!), and I've enabled ...
2
votes
1answer
265 views

Enforce outgoing port for a machine inside LAN

I'm running Ubuntu Server (natty) in as a gateway/firewall in front of a private network. I have successfully enabled IP forwarding and NAT so the machines behind the firewall can connect to Internet ...
9
votes
1answer
728 views

Precautionary security measures for a home user? (firewall, antivirus, etc)

I just recently made the switch from Windows to Ubuntu, and I'm just a little paranoid when it comes to security measures. I've looked around and from what I've read, security is not as big a concern ...
5
votes
1answer
215 views

How do I accept inbound connections for a specific program?

Windows firewall allows to specify a program that will accept inbound connections no matter on which port(s) is listening (instead of specifying the port(s) to allow for that program). Is this ...