Find the answer to your Linux question:
Results 1 to 3 of 3
hi i have used redhat linux v9.0 and webmin how can i block all ports then again how to open perticular ports like 25,110,6668 plz reply thanking you sanjai...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1

    Unhappy block ports in linux


    hi
    i have used redhat linux v9.0 and webmin
    how can i block all ports then again how to open perticular ports like 25,110,6668

    plz reply

    thanking you

    sanjai

  2. #2
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    FYI, your question is not about WINE, so you may have more luck putting this question in the Networking or Security portions of the forums.


    For port blocking you can use iptables.

    Here are a couple of primers on the usage:
    Linux 2.4 Packet Filtering HOWTO: Using iptables
    Gentoo Linux Documentation -- Dynamic iptables firewalls
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    As sdimhoff says, this has nothing to do with wine, and I am surprised you thought about that :P

    There are lots of frontends to configure firewalls in linux, though them all have a big problem: they are all based on iptables, and iptables usually runs as a daemon. So, the frontends are useless, because they are dependant on a given distro.

    Your best bet is to learn to configure iptables. There are also scripts to set it up. These days, shorewall seems to be a famous one.

    Shoreline Firewall

Posting Permissions

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