General discussion

  • Creator
    Topic
  • #2304335

    Linux router

    Locked

    by simon@srn ·

    HELP!

    im having trouble setting up SuSE 8.2 as a simple router in text mode. It worked fine in graphical but now won’t work after i reinstalled in non-graphical mode.

    The setup i have is:

    PC (10.0.0.2)
    |
    |
    eth1 (10.0.0.1)
    ROUTER
    eth0 (DHCP)
    |
    |
    INTERNET

    The PC & router can ping each other fine
    The router can access the internet ok
    The PC can do a trace route to eth0
    But the PC can’t access anything on the other side of eth0

    IP forwarding is enable, and the firewall/s on PC and Linux router aren’t running. I can’t tell if the routing daemon is working as i don’t know how.

    Any ideas?

All Comments

  • Author
    Replies
    • #2739561

      Reply To: Linux router

      by cdargent ·

      In reply to Linux router

      iptables -t nat -A PREROUTING -j MASQUERADE
      Done that?
      Actually, thats a really simple rule but that should work.

      • #2742226

        Reply To: Linux router

        by simon@srn ·

        In reply to Reply To: Linux router

        I found the same info from somewhere else on the internet, but you did answer the question.

    • #2742566

      Reply To: Linux router

      by manish_rit21 ·

      In reply to Linux router

      I am sorry that I am not answering your this question. Actually I think that you are very good in Linux. Please answer my Question.

      Do you know about any software for Red hat Linux which is freely available on Internet from which we can restrict some of our users from using Internet. I want that I should connect my Linux Box between our WatchGuard (Router) and Switch and separte users have there own username and password. If you have any Idea please tell me in detail how to do it.

      Regards,
      Manish Anand.
      Email: manish_rit21@rediffmail.com

      • #2742227

        Reply To: Linux router

        by simon@srn ·

        In reply to Reply To: Linux router

        You could use iptables to restrict certain users to either the entire internet or specific port if you want, as long as they are using static addresses.

        There might be something a little more sophisticated out there though.

    • #2742225

      Reply To: Linux router

      by simon@srn ·

      In reply to Linux router

      This question was closed by the author

Viewing 2 reply threads