Find the answer to your Linux question:
Results 1 to 5 of 5
ok guys, im hoping you can help me out here, im a bit new, i have toyed with linux for about 5 months now, .... im working on a firewall ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2003
    Location
    US
    Posts
    6

    newbie question about iptables syntax


    ok guys, im hoping you can help me out here, im a bit new, i have toyed with linux for about 5 months now,

    .... im working on a firewall for a gateway, and im tryiing to forward all traffic into one ip address. ...obviously. however, other than a few examples of specific attempts at others individual quests, im finding no examples or help in the area. I've gone to quite a few tutorial sites, but no luck .... i'm using Redhat 9 and i've checke d the help manual./nope. i admit that i am relatively new at this, so im sure there are som untapped resources out there somewhere, but for now im just spinning my wheels. I need a reference for iptables syntax.
    -any help i can get with the would be great ...
    thanks
    Jester

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    If you dont mind paying for a decent book, i would strongly recommend "Red Hat Linux FireWalls", by Bill McCarty. It is published by Redhat Press /wiley, RRP is 37.50, or $50.00 USA. ISBN is 0-7645-2463-1.

    I purchased the book last year, it covers IPTables, Chains, creating your own firewall scripts, and the usual "understanding TCP/IP" that seems to be in just about every book I read Also includes some neat logging tricks, and loads of other stuff.

    Well worth the money IMO.

    Jason

  3. #3
    Just Joined!
    Join Date
    Jun 2003
    Location
    US
    Posts
    6
    thanks man, i'll give it a try, i think i might konw someone with that book. im stuck at the moment, so i have not much to loose.
    later

    Jester

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2003
    Location
    US
    Posts
    6

    NO LUCK

    ok ,well the book seems out of reach for now, but here is a more specific problem. i need to know what the syntax is for an ip from anywhere. like -d (anywhere)

  6. #5
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    using "255.255.255.255" might work.

    255 is the broadcast address, and means anything in that subnet/octet. therefore, 255.255.255.255 means any IP.

    Jason

Posting Permissions

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