Results 1 to 4 of 4

Thread: I need help closing ports

  1. #1
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    26

    I need help closing ports

    I was wondering how to close some ports on my box! I dont have a firewall so I figured it would be a good idea. also I am directly connected to the net, no server or anything. Is there a simple command like close port 21, or is it more difficult than that? I ran nmap and it says port 80 is closed how can this be when I am writing this online now? any advise would be appreciated. thanks

  2. #2
    Junior Member registered user
    Join Date
    Feb 2004
    Posts
    16
    I am not an expert, but I will give you a couple of informations

    Basically you have the traffic from the Internet to your machine and from your machine to the Internet. You want to block the traffic from the Internet to your machine, because the hackers and virus are on the Internet and hopefully not on your machine

    Even if you are not blocking the traffic from the Internet to your machine, you should be safe if you aren't running any servers (daemons) on your machine. That seems to be the case. Knoppix is meant to be a desktop Linux and thus it does not install lots of servers (daemons). That's why you probably don't have the 80 port open, because you haven't installed or loaded any http server like apache. Once a server is loaded it will listen to one or more ports, thus openning those ports.

    To setup a firewall can be a bit complicated, so you are recommended to follow the instructions carefully. Some people around here like shorewall and I recommend it too. But first take a look at their site: www.shorewall.net especifically at this quick tutorial: http://www.shorewall.net/standalone.htm

    To install it use apt-get install shorewall .

    Consider if you really need a firewall

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: I need help closing ports

    Quote Originally Posted by jojo
    I was wondering how to close some ports on my box! I dont have a firewall so I figured it would be a good idea. also I am directly connected to the net, no server or anything. Is there a simple command like close port 21, or is it more difficult than that? I ran nmap and it says port 80 is closed how can this be when I am writing this online now? any advise would be appreciated. thanks
    The easiest method apt-get remove --purge name_of_whatever_ftp_server_is_running no server no open port. You can get online because you are being served the pages not serving them up therefore no web server running on port 80. If you want to scan your computer from the internet to see what is open the Sheild's up tools can do the job. Some other firewalls you may want to consider they are all available with apt-get.


    http://www.simonzone.com/software/guarddog/
    http://firestarter.sourceforge.net/
    http://www.bastille-linux.org/

    Or if you want to roll your own.

    http://morizot.net/firewall/gen/
    http://iptables-tutorial.frozentux.n...-tutorial.html

  4. #4
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    26
    thanks stephen and dewd, you helped alot my system is almost secure I just have one more issue, when I run nmap it still says alot of ports are open but when I use the shields up that you suggested it says that they are all stealthed except port 67 which is open and port 68 wich is closed. 67 is bootstrap protocol server, 68 is bootstrap protocol client. I can't find any info on how to stealth them so if you could point me in the rite direction I would be greatful. thanks

Similar Threads

  1. Rear USB ports do not work?
    By Maverik in forum General Support
    Replies: 0
    Last Post: 04-02-2005, 07:31 AM
  2. Problems with NVIDIA and boot (closing x-server) Knoppix 3.7
    By Coffee-OD in forum Hardware & Booting
    Replies: 6
    Last Post: 03-31-2005, 10:43 PM
  3. Closing all apps.
    By Benox in forum General Support
    Replies: 2
    Last Post: 04-21-2004, 06:40 PM
  4. firewall yes or no can ports be opened
    By firebyrd10 in forum Networking
    Replies: 2
    Last Post: 04-02-2004, 10:58 PM
  5. How to open ports for eetee P2P :(
    By cortechs in forum Networking
    Replies: 2
    Last Post: 03-04-2004, 09:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$269.10



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$99.00



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.27



Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB picture

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB

$246.00



LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s picture

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s

$39.80



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$7.99



Full Version MS Office Professional Plus 2021 - 64-Bit Flash USB Drive Install picture

Full Version MS Office Professional Plus 2021 - 64-Bit Flash USB Drive Install

$59.99



TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam 128GB READ DESCRIPTION BELOW picture

TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam 128GB READ DESCRIPTION BELOW

$22.00