Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to make home gateway?

    I have 3 PCs at home and I want to route with the one.I have 2 NICs on it.I know that I can make it with IP tables.I read a lot but and I tried to make it but it does't work.Simply,the mashine isn't routing.I enabled ip_forwarding.I masqueraded.I've made everything,but it doesn' work.Can you help me with ideas? Please,tell me what to enable,what to disable and how to configure th forwarding with iptables.The internet IP is and my home network PLease help me.How to write the commands? Thanks a lot!

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    I've never done it manually, but you can install something like Smoothwall, which is what I use. It is a small distro designed for routing with a web interface to it's many features.

    If you still want to do it yourself, just google for IPTABLES + tutorial and you should turn up more than enough info.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    The problem is that I read so many tutorials and it doesn't work.Something's wrong.I just wnat ideas.Because I tried seeral things.Changes.And it doesn't work.

  4. $spacer_open
  5. #4
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    The DairyLand
    well there is this
    though it is not doing it all the manual way but it might give you some ideas or a way to set it up for now till you do get around to setting it up manualy with iptables

    Also do you have atleast a caching DNS server? on the LAN so the boxes on the lan can find the WAN

    See this alo it is on Masquarading
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds

Posting Permissions

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