Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
google site



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-08-2010
Registered User
 

Join Date: Nov 2007
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Ubuntu 9.10 FIrewall--is UFW allowing anything through by default?

Hi,

I have enabled my UBUNTU 9.10 ufw. By default does it let anything through?
I would think it allows all outbound originating requests through and allows for their return but it does not allow any inbound requests. Is this how it works?

---------- Post updated at 08:17 PM ---------- Previous update was at 07:31 PM ----------

I get this using status command:


Code:
root@-desktop:~# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip


Last edited by pludi; 02-09-2010 at 01:30 AM.. Reason: code tags, please...
Sponsored Links
  #2  
Old 03-25-2010
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,090
Thanks: 0
Thanked 6 Times in 3 Posts
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.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Berger Singerman Asks for an Order Allowing it to Pay Itself from Retainer Linux Bot UNIX and Linux RSS News 0 10-16-2009 11:00 AM
allowing members of a group to kill a process vastcharade Programming 1 01-17-2008 06:55 PM
Allowing acces to ports < 1024 w/o root rpollard Security 2 05-09-2002 11:23 AM
Allowing a script to continue executing when a command hangs mkinney Shell Programming and Scripting 5 04-24-2002 01:28 AM



All times are GMT -4. The time now is 08:01 AM.