Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2002 12:50:57 -0600
From:      "Grant Cooper" <grant.cooper@nucleus.com>
To:        "Jim Geovedi" <negative@magnesium.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: firewall,apache,qmail - IP Address's
Message-ID:  <060e01c2461f$07509fd0$2afececd@TCOOPER>
References:  <056501c245b9$e51d3c80$2afececd@TCOOPER> <20020817072510.GA5026@TOXIC.MAGNESIUM.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
All right, that was some cool stuff. Now I have a problem because I use
allot of web interfaces, sqwebmail, vqadmin, ect. My thought was to run the
web server maillinks on another port and forward all ports with that link to
my mail server. Think this will work?

----- Original Message -----
From: "Jim Geovedi" <negative@magnesium.net>
To: "Grant Cooper" <grant.cooper@nucleus.com>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Saturday, August 17, 2002 1:25 AM
Subject: Re: firewall,apache,qmail - IP Address's


>
> > I just acquired a new box and don't know the best way of doing this. I
> > originally planned on having my box connected to the internet my web
server
> > / firewall / natd connected to my mail box. Can I forward tcp packets
based
> > on Port numbers to a specific box so I don't have to buy another ip
address?
> > Or does anyone have a better idea based on one ip?
> >
>
> Yes, you can do such a Port Mapping and Redirection, which mean specific
port
> on the external interface mapped to services inside your private network.
> For example: 207.154.X.X doesn not actually have any services (except NAT)
> running on it. But its mapped the request on specific ports to another box
> behind it.
>
>
>    WWW Server                              Mail Server
>    | 192.168.1.2:80                        | 192.168.1.3:25
>    | 192.168.1.2:21                        | 192.168.1.3:110
>    |                                       |
>    +-----------------------+---------------+
>                            |
>                            | 192.168.1.1
>                    Firewall/Gateway
>                            | 207.154.X.X:21
>                            | 207.154.X.X:25
>                            | 207.154.X.X:80
>                            | 207.154.X.X:110
>                            |
>                        Internet
>
> The request made to 207.154.X.X:110 are mapped to the WWW server on
> 192.168.1.3, if you have highload traffic request, it is possible to have
> several servers in your network, with NAT router balancing to load
between.
>
> I found a good article about NAT, "Multiple webservers behind one IP
> address", http://www.daemonnews.org/200202/multiweb.html
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?060e01c2461f$07509fd0$2afececd>