Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Ubuntu 9.10 FIrewall--is UFW allowing anything through by default? Post 302407497 by RTM on Thursday 25th of March 2010 02:53:43 PM
Old 03-25-2010
By default, no, it's not going to let anything through.

To let ssh and http, you could set the following (change to your needs)

root@# ufw limit ssh/tcp
Rules updated
root# ufw allow proto tcp from 192.168.0.0/16 to any port 80
Rule added
root# ufw status
Status: active

To Action From
-- ------ ----
22/tcp LIMIT Anywhere
80/tcp ALLOW 192.168.0.0/16

The man page for ufw shows probably everything you would need to know.
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UFW show args command

In ubuntu man page there is this command. What are values of ARGS I can use? (0 Replies)
Discussion started by: mojoman
0 Replies

2. Ubuntu

ubuntu kernel: [ 729.529501] [UFW ALLOW] ,[UFW AUDIT]

Hi , In our ubuntu server 10.10 ,we are getting below logs .Every day i need to restart server ,other wise it will not accessible.Some times ,i need to restart two times. When i ping google.com ,it was very slow .some times host not reachable .After reboot ,it will ping as good. ... (0 Replies)
Discussion started by: srinivasa
0 Replies

3. IP Networking

Firewall problems on my ubuntu gw

Hi, I make an ubuntu based gateway with dns, dhcp, proxy and a firewall. The problem is with the firewall, a classroom is connected to gw.eth1 with private ip 17.18.43.XX and gw.eth0 with public ip 134.201.34.XX is connected to internet trought 134.201.3.1 and others server like LDAP on... (0 Replies)
Discussion started by: falafel
0 Replies

4. UNIX for Beginners Questions & Answers

[ufw] force all traffic through VPN

I am trying to force all my tun0's traffic through VPN but some some reason, the ufw is not working the way I want to. Below are the commands that I have executed.. I am able to connect to my SSH and NFS server but for some reason that I am unable to understand, I am unable to surf the net. ... (0 Replies)
Discussion started by: soichiro
0 Replies

5. Linux

Linux keeps freezing on UFW BLOCK

Hi everyone, I have had trouble getting several versions of Linux stable on my machine over the last few months. I do not think the issue is with the machine. Windows ran fine on it for a long time. The current issue is that whenever I lock the screen then come back after a long time I find... (2 Replies)
Discussion started by: mojoman
2 Replies
GEN_KEYMAP(1)						  Ubuntu General Commands Manual					     GEN_KEYMAP(1)

NAME
gen_keymap -- generate a keyboard map decision tree SYNOPSIS
gen_keymap list ... DESCRIPTION
gen_keymap generates a decision tree from a set of keyboard maps which can be used to help a user decide which keyboard map to use. The pro- gram using the decision tree typically asks the user to press some keys; at each step, it examines the returned keycode and uses it to prune the list of possible keyboard maps until there is only one left. OPTIONS
--version Show program's version number and exit. -?, --help Show help text. -v, --verbose Be more verbose. -mMINLEN, --minlen=MINLEN Too-short keymaps are skipped (default: 30 entries). -g, --graph Generate a hopefully-nice-looking .dot file. --maps Print the to-be-processed keymaps -i, --installer Input files are in d-i map form. -IDIRS, --inc=DIRS, --include=DIRS Add a directory to the search path. -oFILENAME, --output=FILENAME Set output file (default: stdout). -fFILTER, --filter=FILTER Include only the branches leading to these keymaps. -uUSEONLY, --useonly=USEONLY Start generating the tree based only on these keymaps. (The difference between --filter and --useonly is that the former generates the whole tree and then prunes it, while the latter only generates a reduced tree to begin with. This may have implications for perfor- mance on large trees.) -sSKIP, --skip=SKIP Keymaps to skip. -t, --test Test the generated maps. --interactive Ask user to choose among indistinguishable keymaps. AUTHORS
gen_keymap was written by Matthias Urlichs <smurf@debian.org>. This manual page was written by Colin Watson <cjwatson@ubuntu.com>. Ubuntu September 5, 2006 Ubuntu
All times are GMT -4. The time now is 05:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy