Results 1 to 3 of 3

Thread: iptables question

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Location
    Greece
    Posts
    16

    iptables question

    Hello
    I recentrly installed Slackware Linux 10 into a box with static ip address (my first one, its hard here in greece to have dsl internet).

    I have a problem with iptables:
    I dont know how to tell iptables to block a specific port or port range to the world. Let me explain. This box runs ftp, mail and irc server. But I want these services to run only in the local network and any requests from the .."outside" to be blocked.
    how can i achieve this?

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Posts
    1,255
    Reading the documentation is really all you need:
    http://www.netfilter.org/documentati...ing-HOWTO.html
    Chris Shepherd
    The Nelson-Shepherd cutoff: The point at which you realise someone is an idiot while trying to help them.
    \"Well as far as the spelling, I speak fluently both your native languages. Do you even can try spell mine ?\" -- Failed Insult
    Is your whole family retarded, or did they just catch it from you?

  3. #3
    Antionline's Security Dude instronics's Avatar
    Join Date
    Dec 2002
    Posts
    901
    to block a specific port or port range to the world.
    There is a Golden Rule when it comes to firewalls.
    You dont block specific ranges. The golden rule is to BLOCK EVERYTHING and then just allow what you really need.

    Cheers.
    Ubuntu-: Means in African : "Im too dumb to use Slackware"

Posting Permissions

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