Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    May 2005
    Gender
    Male
    Posts
    450

    Default Blocking all ports and opening specific ports in linux


    Blocking all ports and opening only specific ports in linux
    paunsa ni? gusto lang ko iopen ports 80,22,3724

    tabang mga bro

  2. #2
    Quote Originally Posted by gsirk View Post
    Blocking all ports and opening only specific ports in linux
    paunsa ni? gusto lang ko iopen ports 80,22,3724

    tabang mga bro
    hmmmmmmmmm...very broad question

    Application usually open a ports for you such as http uses port 80....and it is a deafult config
    .........But if you want to open the ports or change the ports to something you want, yes you can programatically.

    Another method is to use your built in firewall or SElinux.you can open and closed ports you want.

  3. #3
    @dontknowmewho
    Another method is to use your built in firewall or SElinux.you can open and closed ports you want.

    bro,
    this method only blocks or allows specific services using the specific ports... , its better if you set-up a proxy server squid, then you can configure it to block/allow specific ports.

  4. #4
    Junior Member
    Join Date
    Mar 2006
    Gender
    Male
    Posts
    203
    Quote Originally Posted by rentoyski View Post
    @dontknowmewho
    Another method is to use your built in firewall or SElinux.you can open and closed ports you want.

    bro,
    this method only blocks or allows specific services using the specific ports... , its better if you set-up a proxy server squid, then you can configure it to block/allow specific ports.
    Bro,

    Saun pag set-up sa proxy server

  5. #5
    Quote Originally Posted by Stork View Post
    Bro,

    Saun pag set-up sa proxy server
    medyo lisod gamay bro.. y man

  6. #6
    It's actually very simple. Just use iptables.

    Create a text file on your /etc/rc.d folder (or any folder for that matter). Then put your iptables commands on that file, make that file executable and your done.

    By default, your iptables are set to allow all (you can confirm this by issuing iptables -nL). Just change the default policy to drop all, then create another policy to allow the ports you want.

  7. #7
    How to set-up proxy server? I got some ideas on youtube

    YouTube - Broadcast Yourself.

  8. #8
    if u want to use the cli use the UFW but kung gusto ka mas sayon tapos naa ui just use firestarter and best partner nya NMAP(to evaluate lang sa ports nimo kung kinsa ang open or close).......

  9. #9
    iptables

    it's the firewall tool for linux.

  10. #10
    pwedi pod na tanan...it all depends on you needs

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. For Sale: Dvd player with usb port and karaoke in 1 box!
    By spriggan in forum Household Appliances & Accessories
    Replies: 19
    Last Post: 10-21-2013, 03:20 PM
  2. Say good bye to VGA and DVI video ports in a few years
    By Dk.Enigma in forum Computer Hardware
    Replies: 13
    Last Post: 07-30-2012, 11:47 AM
  3. Mandatory Airing of SUGBUANO SONGS In All AM and FM Stations
    By WAYOK@@ in forum Politics & Current Events
    Replies: 32
    Last Post: 08-07-2010, 09:21 AM
  4. Replies: 1
    Last Post: 03-06-2008, 08:22 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
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top