Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-12-2009, 01:01 PM   #16
LQ Newbie
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
Thumbs up Ubuntu Hardy defaults *most* ports closed w/o firewall

Originally Posted by tim_ View Post
I know I did not ask the question but this helped me

iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport (replaced with my port) -j ACCEPT

Thank You
That helped me as well, thanks. Apparently Unubtu 8.04 (Hardy) defaults *most* ports closed w/o firewall. I don't know the details (I'm a programmer, not an admin) but that's just the way it is!
Old 06-08-2011, 08:48 AM   #17
LQ Newbie
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Originally Posted by tallmtt View Post
My problem was using ssh to access my box. I thought the problem was the port was not open (which it wasn't), but the real problem was that Ubuntu installs only the ssh client (to ssh into other boxes) but not the ssh-server. This is an easy fix:

Now ssh server is installed, I can ssh into my box, the port is open, and all is well.

Make sure to read the and secure your ssh-server so root login is disabled, etc.

Good luck!
I register this forum to say "thank you so much" to you tallmtt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 10:38 AM
bittorrent commands, ports and ubuntu kkatebian Linux - Software 5 06-09-2005 02:43 PM
Open Ports excidy Linux - General 1 04-02-2005 07:40 PM
What are these open ports? overlord73 Linux - Security 1 01-20-2005 09:10 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration