Mark Hernandez wrote:

> I have two lan cards on my server, and I want to use them both
> so that
> 
>  
> 
> 1.) an e-mail server would use one lan card for incoming messages
>      and the other for outgoing messages
> 
> 2.) a proxy server would route internally on one lan card and
>      the other card would route to the internet.

This is possible of course. To make it short, you just have to assign
different IP addresses for your 2 ethernet cards, like one card will listen
for connections made on IP addresses on your LAN and the other for "outside
world" IP addresses.. For the mail server programs, you need to configure it
to listen to for SMTP connections only to the IP addresses belonging, eg
192.168.1.0/24 for example) will forward it using the IP that's assigned to
you by your ISP. Of course, it would be the other way around for the POP3
server wherein it would listen for incoming mail on the "outside world IP
addresses" and it will listen only for mail downloading queries from your
LAN. Now, with regards to the proxy server, it would be best explained by
reading fire walling HOWTOs regarding firewalls (IP chains for 2.2.x kernel,
and IP Tables for 2.4.x kernel) if you want that server to act as an IP
forwarding proxy. Also, read HOWTOs regarding IP Masquerading too. :) Just
goto http://linuxdoc.org . Of course, when Jijo gets his mirror ready, it
would be also availale at http://ldp.leathercollection.ph .

Musta na pare? Long time no see a!


-- 

========================================================

      Gideon N. Guillen
      Internet: [EMAIL PROTECTED]

========================================================


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to