Instead of IP tables, you could use Apache to proxy port 80 requests to the
port your Orion is listening for.

You set up your virtual host in your apache conf file like this (you need to
make sure you have the Apache proxy module installed):

<VirtualHost youripaddress:80>
ServerName www.yourdomain.com
ProxyRequests On
RewriteEngine On
RewriteRule ^/(.*) http://www.yourdomain.com:4321/$1 [P]
TransferLog /pathtowhereyouwanttologaccess/access
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
</VirtualHost>

(where 4321 is the port number your Orion is listening on.)

If you do that make sure you add this between your <website> tags to your
web-site xml file (the one in your orion/config dir):
<frontend host="www.yourdomain.com" port="80" />

You need to bear in mind that it makes your Orion access log files useless
as all request appear to have come from the same IP. All you do is use the
Apache ones instead.

Check out: http://www.orionsupport.com/articles/apachefrontend.html for some
additional info.

Hope this helps.

Johnny


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Wichgers
Sent: 31 August 2001 16:49
To: Orion-Interest
Subject: Help needed


I'm trying to get Orion Server to start as a non-root users on Red Hat
7.1.  I know I need to forward the port from 80 to something above
1024.  Does any one know how I can do that with iptables.  I've never
used it before.


Any help would be appreceated.


Bill Wichgers




Reply via email to