[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
multiple servers behind oBSD
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: multiple servers behind oBSD
- From: pickle <pickle_(_at_)_sdf_(_dot_)_lonestar_(_dot_)_org>
- Date: Fri, 2 Mar 2001 18:59:39 -0600 (CST)
Hello all!
Just a question i'd like to ask that im having trouble with.
I have a opennsd 2.7 box that is currently a web server, ftp server
and a mail server, and also serves as a gateway for all the internal
boxes.
Here's the question:
3 of the internal boxes, 2 running oBSD and 1 running linux. I
want to allow them to be used as active servers.
(internet) <------> openbsd gateway
[gate.domain.com] (2 nic)(internal nic is 192.168.x.1)
web, ftp, mail server
/ | \
/ | \
oBSD box 1 obsd box 2 linux box
dopy.domain.com gimp.domain.com test.domain.com
web + ftp server web + ftp server web + ftp server
192.168.8.200 192.168.8.205 192.168.8.210
If someone just types www.domain.com of ftp's into it they will hit
the gateway server. What i'd like to do is if some one types
gimp.domain.com they will route thru the gateway box and hit obsd server
#2. same goes to all the boxes.
Currently i have this in my httpd.conf:
<VirtualHost 1.1.1.1> (my ip changed)
ServerName dopy.domain.com
ProxyPass / http://192.168.2.200
ProxyPassReverse / httpd://192.168.8.200
</VirtualHost>
<VirtualHost 1.1.1.1> (my ip changed)
ServerName gimp.domain.com
ProxyPass / http://192.168.2.205
ProxyPassReverse / httpd://192.168.8.205
</VirtualHost>
<VirtualHost 1.1.1.1> (my ip changed)
ServerName test.domain.com
ProxyPass / http://192.168.2.210
ProxyPassReverse / httpd://192.168.8.210
</VirtualHost>
I also havein there:
LoadModule proxy_module /usr/lib/apache/modules/libproxy.sl
only thing im unsure about is what to put inthe /etc/ipnat.rules
or anyother conf file to get this setup to work.
Any info will be appreciated!
david
pickle_(_at_)_sdf_(_dot_)_lonestar_(_dot_)_org
Visit your host, monkey.org