Results 1 to 4 of 4

Thread: NAT, eth1 and eth0

  1. #1

    NAT, eth1 and eth0

    My question is a few lines down!

    Right now I'm running Linux RH 9 on a celeron 300/128 MB.

    eth0 is my outside NIC and is being configured by the DHCP of my ISP. (www.demon.nl) I'm not sure what the protocol is but they make me part of their network. I don't think they setup a VPN like and avarage DSL line

    eth1 has a fixed IP (192.168.10.200) and needs to be configured as my gateway for my LAN.

    Running:
    iptables
    webmin
    turtlefirewall (webmin module)
    squid proxy (webmin module)

    As far as I can check my proxy is working. (I tied my linux box to my window$ gateway and it worked.)

    My firewall is granting me acces through my window$ client (192.168.10.213) , with whom i can connect to my linux gateway. I can connect to webmin using my browser and I can do a remote login with putty to setup a SSH connection.

    So here is my question...

    How do I get my connection going with my ISP. I know I need to set up a NAT rule, I tried a few things but did'nt work so far. I know I have to NAT all outgoing traffic. I want that my lan uses 192.168.10.200 (eth1) as gateway. Ofcourse I want to connect to the outside with eth0. How do I get those two NIC to communicate with each other? Need more info, let me know!

    Cheers

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re:NAT, eth1 and eth0

    Use a firewall script like gShield (muse.linuxmafia.org). It is nicely commented in the config file.

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:NAT, eth1 and eth0

    [quote author=ph34r link=board=4;threadid=7912;start=0#msg72276 date=1065702777]
    Use a firewall script like gShield (muse.linuxmafia.org). It is nicely commented in the config file.
    [/quote]

    To add to that; use the site freshmeat.net to find frontends. Firestarter is antother that comes to mind. There are a plethora that can assist in doing what you need.

  4. #4

    Re:NAT, eth1 and eth0

    I finally got my gateway up and running! Still a lot to be done, like printers acces for my window-based lan...

    Thanx people!

Similar Threads

  1. DNAT help plz !!
    By thomaspsimon in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 08-23-2007, 11:25 AM
  2. "Network is unreachable" when pinging gateway through DHCP
    By Setya in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 07-25-2007, 02:48 AM
  3. Network Not Working In Debian
    By knight in forum Linux - General Topics
    Replies: 22
    Last Post: 03-22-2006, 11:19 AM
  4. ARP broadcast storm
    By steves in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 05-17-2005, 06:10 PM
  5. Setting up a Routing table in ClarkConnect 2.2 (RedHat 9)
    By wetmetalthong in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 01-19-2005, 12:40 AM

Bookmarks

Posting Permissions

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