Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, I have a small problem. I have to make all the Network Traffic go by a Gentoo Box with Iptables. But I have no idea what to Google to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    Server Firewall?


    Hi, I have a small problem.
    I have to make all the Network Traffic go by a Gentoo Box with Iptables.
    But I have no idea what to Google to find information about how to do that..
    So basicly the system is like this:
    Inet - Zywall - Webserver - <GENTOO, This one> - MicroSoft SBS - Desktops
    How can I setup that Gentoo box?
    What do I have to Google?
    Since I really have no idea..

    Thanks alot.
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    WhooWhoo I think I nearly control IPtables now.. ^^
    Though I can only edit the Config File :P I know I shouldnt change it in that way.
    But hey it works. And I understand it.. So what the
    I still have a couple of Questions about it though.
    Id like to know if there is a Certificate like "Certificated iptables Technician" or a Good book about it. Since well I understand how it works and stuff. But I know for sure there are some cool tricks I dont know yet. (Like putting the Always - Drop as last Rule in every chain )
    Also Id like to know were the Logs are Saved?
    Since there isnt a iptables file in the /var/log/ dirs.
    Oh and when I open the config file I see the names of the chains eg. INPUT [0:0] what does the [0:0] mean? And I also like to know if there is a way to Filter Destination MAC adres. Since I have no clue how to do that. And when i google for that I get something that just doesnt work.. (eg. iptables -A INPUT -m mac --mac-source 00:0F:EA:91:04:08 -j DROP)
    And well I still have my first problem. The one with the netting. I think I have to do that with Redirecting or something but I really have no idea how to google for the problem..

    Well, is there anyone who can answer nearly all my Questions?
    Or knows a good online Tutorial? Or a Book or a course about IPtables?
    Since this one is really good.. ^^

    Thanks already,

    Robin
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Bump
    I still have no idea how to do it..
    Have been looking and asking around.
    No Luck Though.
    New Users, please read this..
    Google first, then ask..

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Check out this web site. You should be able to find all your answers here

    http://iptables-tutorial.frozentux.n...-tutorial.html

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #5
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Thanks alot ^^
    But what is it called to do this:
    WAN <---Firewall--->LAN
    192.168.24.1 <---Firewall---> 192.168.42.100
    ??
    New Users, please read this..
    Google first, then ask..

  7. #6
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Not sure i understand your question.

    Routing comes to mind when passing packets from one interface/host o another.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  8. #7
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Oh yea ofc.
    I have a network on the one side and another on the other one
    witha Diffrent IP range Sever so.
    New Users, please read this..
    Google first, then ask..

  9. #8
    Just Joined!
    Join Date
    Oct 2007
    Posts
    7
    I not a linux pro but as far as I know the term is Dual Subnet.

  10. #9
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    After googling abit and stuff I think its called NAT and not Dual Subnet.
    Dual Subnet. is that you have a Diffrent Subnet on two sides right?
    NAT is sharing one IP with eachother so thats not what I really want aswell.
    So, well I want to do the following thing:
    (WAN) Wire -> NIC (Eth0) -> IPtables Filtering Junk Out -> NIC (Eth1) -> Wire (LAN)

    (I know its kinda offtopic but while reading I also got intrested into Squid. Is there also such a great tutorial of?)
    New Users, please read this..
    Google first, then ask..

Posting Permissions

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