On 15 January 2006 21:19, Ryan Viljoen wrote:
> Hi all
>
> I am currently redoing a server for my old high school. The old server
> had to network cards:
> eth0 - 192.168.1.2
> eth1 - 192.168.4.1
>
> The 192.168.4. network is the admin network for all the teachers. The
> server connects to another mail and file server on eth0 its ip is
> 192.168.1.1. In addition the access to the net is through 192.168.1.4
> (proxy server).
>
> Now on the previous server the teachers could get the mail and browse
> the net from the 192.168.4. network. Could someone advise me on how to
> go about doing this on the new server.

IP forwarding must be enabled on your new server:
echo "1" > /proc/sys/net/ipv4/ip_forward
That is assuming you are using IP version 4.

Next, you need a default route on the server pointing to 192.168.1.4.

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list

Reply via email to