I'm a kind of guy who loves to study new things and new versions of operating system. Last year I setup a file server for our school to serve at least 100 computers to be used by our students as their workspace. I use the FreeBSD 6.0 + Samba for that purpose. Now this summer I setup a different O.S. for the school, that would be openSUSE 10.2, (honestly I'm still average when it comes to setting-up Linux systems and I'm still studying!!!)
Now I'm done with the configuration of the setup. Well the final output is I use openSuse 10.2 as router with proxy server + web filtering content. I use two LAN Cards, one connected to the myPLDT DSL and the 2nd LAN Card connected to the school's local area network.
For the standard installation of the openSUSE 10.2, KINTERNET was not installed so i add the package then configure the DSL connection through YAST2 (SUSE's Control Panel).
The first problem I encounter when I configure the server as router was the gateway that I should specify for the 2nd LAN. I try to use "route -n' to determine the gateway and 0.0.0.0 address was returned to me by the command. Now, I've read some article from a Novell's Cool Solution (http://www.novell.com/coolsolutions/feature/16022.html). After reading this material I set the gateway for the 2nd LAN as 10.0.0.138 (Modem's IP Address) and I set the IP address for the 2nd LAN as 10.0.1.1
Then I configure my Windows XP workstation's IP Address as 10.0.1.2 … then I checked the browser if I can connect to internet
and luckily it did!
For the proxy server, I install the Squid proxy server then dansguardian as the web-filtering content program. I tried SafeSquid but I decided later to use Squid+Dansguardian and I'm done with it. I configure the firewall of the server to prevent our LAN to access the internet directly so I can force users to use the proxy server.
Well, I try to have detailed instructions with pictures for the configuration that I made. I'll gather all the snapshots … later …