General discussion

Locked

Linux router

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?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

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.

Collapse -

by Simon@SRN In reply to

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

Collapse -

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

Collapse -

by Simon@SRN In reply to

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.

Collapse -

by Simon@SRN In reply to Linux router

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums