Tagged Questions

ufw is the default firewall application for Ubuntu Linux.

learn more… | top users | synonyms

0
votes
1answer
21 views

Set block time with iptables

I have the following rules in ufw, for iptables: -A ufw-user-input -p tcp --dport 80 -m state --state NEW -m recent --set -A ufw-user-input -p tcp --dport 80 -m state --state NEW -m recent --update ...
0
votes
0answers
22 views

Firewall Ubuntu UFW port 22

I use ufw firewall, on port 22. I have given the command: sudo ufw allow from a.b.c.d to any port 22. sudo ufw status output looks like: To Action From 22 allow a.b.c.d The OS is ...
1
vote
1answer
31 views

confusing INPUT,OUTPUT iptables rules

Following is my iptables rules in Ubuntu. ╰─$ sudo iptables -S -P INPUT ACCEPT -P FORWARD DROP -P OUTPUT ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A ...
0
votes
0answers
30 views

NetworkManager connection sharing traffic isn't respecting UFW rules

I have an interesting issue when trying to make use of NetworkManager's connection sharing functionality whilst having a VPN setup (with UFW rules restricting all inbound and outbound traffic to only ...
3
votes
2answers
575 views

Using Raspberry Pi as IPv6 router for network

I've succeeded in setting up IPv6 for my Raspberry Pi with tunnelbroker.net. However, I would like to share the /64 I got amongst the other devices in my network. The router of the network is a Virgin ...
0
votes
0answers
152 views

UFW Not Allowing Apt-Get and other HTTP Services Out

I've built a limited firewall appliance out of a Raspberry Pi, two NIC cards, and a Raspbian OS using UFW for the firewall. Another Pi (also on Raspbian) sits behind it as an application/web server. ...
1
vote
2answers
2k views

Is it possible to put UFW on CentOS?

If so, how would I do it? If not, is there an easier way to set some basic rules on CentOS other than iptables? I'm more of an app developer and less of a sys admin.
0
votes
1answer
227 views

UFW default rules… where are they?

In the tutorial on UFW here https://help.ubuntu.com/community/UFW it says that UFW uses the default rules if enabled and not configured. I checked the folder: /etc/ufw/ and the files I found ...
1
vote
1answer
338 views

With ufw, how do I limit SSH from outside, and not from inside?

Using UFW, limiting connection attempts for things like SSH is real easy: # ufw limit SSH However, I'd like to limit only the public-facing interface, not the LAN interface. This command does it ...
1
vote
1answer
469 views

UFW: block all traffic for port 3306

How can I block all traffic for just one port? Take the following situation: Ubuntu Desktop VM Browser has access to internet (port 80 stays open) Ubuntu update services work normally (may not be ...
1
vote
1answer
220 views

Adding a custom SSH port to Ubuntu 12.04 LTS through UFW

I am trying to configure a Ubuntu 12.04 based VPS and I have changed my ssh port from 22 to 803 and everything worked fine. After this I've installed UFW and now I can't login using SSH. Before I ...
1
vote
1answer
593 views

UFW rules for specific host / dynamic dns

How can I setup UFW (Uncomplicated Firewall) to add rules for specific hosts? Eg. I want to allow SSH only from yourpc.no-ip.org?
0
votes
0answers
339 views

Allow only VPN traffic with GUFW not working

Running Kubuntu 13.04 I have read this tutorial about only allowing torrent traffic with GUFW but it seems this is not working for the browser. My torrent application is working but I cant browse any ...
1
vote
0answers
82 views

Lubuntu UFW does not respond

I have been using ubuntu for a long time. Nowadays, I wanted explore lubuntu. However, I cannot configure ufw. Actually I can but it does not respond. Basically, I cannot get the result of "ufw ...
0
votes
2answers
329 views

All outgoing mail in VM should stay local

I have setup an Ubuntu 12.04 VM, which I use to test and develop magento shops. On this desktop VM I have an almost exact copy of the shop running. I prefer to use a desktop VM as this gives me the ...
1
vote
2answers
3k views

UFW is active but not enabled why?

I was trying to setup a firewall in my Ubuntu 12.04 machine. After some struggling I got the following. Isn't this sounds a bit odd? thomas@thomas-K40IJ:~$ sudo ufw status verbose Status: active ...
1
vote
1answer
50 views

Delete a previously added rule in ufw

I created a firewall rule for an application and put into /etc/ufw/applications.d, added that rule with command sudo ufw allow MyApp but now I cannot delete it. When I do sudo ufw delete MyApp ...
5
votes
2answers
281 views

How to block a particular computer behind a NAT

I run a small hostel and have the following network configuration: Router1 (192.168.1.1) ─┬─ (192.168.1.2) Ubuntu Samba+SSH Server ├─ (192.168.1.X) Router 2 (192.168.2.1) ─┬─ ...
1
vote
1answer
94 views

Configure application integration with ufw firewall

I've read the ubuntu developer docs regarding the ufw here, but couldn't find what I was looking for. It allows me to set rules for controlling in/out traffic based on source IP or port numbers, but ...
6
votes
2answers
257 views

Open up firewall automatically to anybody who has successfully connected via SSH

I have a server which runs a few services. However, for security reasons, I configured the server so that nothing, except for SSH, is accessible from outside. What I'd like to do instead, though, is ...
0
votes
1answer
882 views

Opening firewall to incoming port 443

I recently set up the ufw firewall on a Linux machine so that outgoing connections are allowed, incoming connections are denied, and denied connections are logged. This seems to work fine for most ...
1
vote
0answers
243 views

Can ipmasq and ufw be used together?

If both ufw and ipmasq manipulate iptables, can I use ipmasq for a quick easy setup and then use ufw afterwards to add security or will the two just trample all over the iptables "stuff"? I'm playing ...
1
vote
1answer
1k views

Debian - starting UFW (Uncomplicated Firewall) before network interfaces are operational

I want to install UFW on Debian Lenny. Everything looks straightforward except that I don't know where to plug UFW startup script so that it configures iptables before hax0rs can break in. I've ...
0
votes
2answers
610 views

Ubuntu Linux UFW Firewall, Local Intranet Access

At home, I have Ubuntu server with the UFW firewall. What command do I type to turn on local intranet access to my web server, but keep the outside world out from my DSL modem?
0
votes
1answer
1k views

Bandwidth limit by IP on Ubuntu UFW NAT

How can restrict the bandwidth (or perhaps rate of packets) of each IP's traffic going through my Ubuntu Server 10.04 UFW NAT box? (If this belongs on another SOI site, please move it.)
0
votes
1answer
579 views

ufw says a port is open, everyone else disagrees

I am running apache2 on Ubuntu 9.10, and I want expose a particular site through port 10045. My first instinct was to go to ufw and open that port. I've done that, and if I do a list of rules in ufw ...
1
vote
4answers
3k views

How can i open in port 3306 in Ubuntu 8.04.1?

I want to open port using command sudo ufw allow 3306/tcp but it gives the following error: sudo: ufw: command not found please help me
2
votes
4answers
5k views

UFW as an active service on Ubuntu

Every time I restart my computer, and check the status of the UFW firewall (sudo ufw status), it is disabled, even if I then enable and restart it. I tried putting sudo ufw enable as one of the ...
-1
votes
3answers
2k views

Best firewall for Ubuntu [closed]

I currently have ufw and Firestarter installed on my Ubuntu Desktop 9.10 Which one should I stick with?
0
votes
2answers
863 views

How do I know which firewall is running on Ubuntu 9.10?

I've always used ufw by default, even though I also had installed Firestarter After upgrading from Ubuntu 9.04 to 9.10, by way of Update Manager, I've found ufw disabled (when I look at gufw). How ...
2
votes
5answers
931 views

ports I should block

I recently set up an Ubuntu Server at home, and the first thing I did was place the UFW firewall at full power. Bad move. I could not even "rlogin" to it. I just disabled the firewall, and would ...