Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Search Forums:



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 !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-08-2010
Registered User
 

Join Date: Nov 2007
Posts: 239
Thanks: 0
Thanked 1 Time in 1 Post
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 21 Times in 7 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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
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 03:19 AM.