Koozali.org: home of the SME Server

stupid squid question... (sorry...)

g00s3m4n

stupid squid question... (sorry...)
« on: October 10, 2005, 07:17:45 PM »
hello there all,

here is my senario:
I have two leased lines (1x 128k - A & 1x 512k - B)
I would like to use a single SME server and have it receive and send mail with line (A) and have other internet traffic (http, ftp etc..) use line (B)

I was thinking to setup sme as a server and gateway with two nics- eth0 is internal 10.0.0.1 and eth1 is public

Router (A) has a public address on eth0 and s0
Router (B) has a address of 10.0.0.2 on eth0 and a public on s0.

i would usually setup a ipcop or a second SME server for this but i have limited hardware..

is there a way to have squid forward traffic to another gateway? (i.e Line (B)?)

I hope this is not too confusing..

thanks for the help..

g

duncan

stupid squid question... (sorry...)
« Reply #1 on: October 11, 2005, 12:38:12 AM »
Hi.

Check out qmail smtproutes.

g00s3m4n

stupid squid question... (sorry...)
« Reply #2 on: October 11, 2005, 01:29:32 PM »
thanks for the reply, however, i am not sure I understand how that would work, please could you supply some more info?

thanks

duncan

stupid squid question... (sorry...)
« Reply #3 on: October 11, 2005, 02:24:40 PM »
One nic.

Set SME gateway to router B.
Set smtproutes to route all mail via router A.

duncan

stupid squid question... (sorry...)
« Reply #4 on: October 11, 2005, 02:58:31 PM »
Actually - scratch that. Thinking about it - it probably wont work.