Red Hat Topics - Internet sharing via Linux. Newbie question..

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > August 2005 > Internet sharing via Linux. Newbie question..





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Internet sharing via Linux. Newbie question..
Trevor Furnell

2005-08-29, 2:46 am

Hi

I've just setup Redhat Linux
The network is running, via eth0 and ppp0 is the
internet connection. Pinging from any machine to
any other machine on network works.

Main server + internet connection = 192.168.10.1
other machines 192.168.10.100 -> 192.168.10.200

I was told to modifying /etc/sysctl.conf,
net.ipv4.ip_forward = 1

I was given the following command to use to setup the
ip forwarding,
"iptables -t nat -I POSTROUTING -s 192.168.10.0/24 -d
-! 192.168.10.0/24 -j MASQUERADE"
Then
service iptables save

but it isn't working properly, I saw several other posts talking
about the similar types of things, but was unable to fathom
it out.

Do I also need to change the firewall, and allow/disallow things
in there. System Level Configuration shows
Security level = Enable Firewall
Trusted Services = WWW
Trusted Devices = eth0
Other Ports 443:tcp

Thanks.
Trevor..
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com