I use the following:

ipmasqadm portfw -a -P tcp -L $EXT_IPADDR 80 -R $INT_IPADDR 80

Works well.

> On Fri, 25 Feb 2000 15:58:57 -0800 (PST)
>  <[EMAIL PROTECTED]> wrote:
>> I've just set up a firewall on my network using portfw with
>> commands like
>> the following:
>>
>> /usr/sbin/ipmasqadm portfw -a -P tcp -L $external_ip 80 -R
>> $internal_ip 80
>> /usr/sbin/ipmasqadm portfw -a -P udp -L $external_ip 80 -R
>> $internal_ip 80

> from my limited knowledge and reading you can only port-forward
> a particular port to another ip...not to multiple ones.

>>
>> I have a webserver running behind it that is hosting several
>> domains, but
>> since installing the firewall the webserver is responding as
>> if all all
>> requests are being made to the machine's IP, not it's domain,
>> so all of
>> the hosted domains are defaulting a singele website.  Both
>> the firewall
>> and the server are running the latest build of redhat and the
>> webserver is running Apache.
>>
>> -Ben Newman
>>
>> Zorak does not like R.E.M. with the bald weirdo flailing
>> about and is
>> irked when no one offers alternatives in modern times.
>>                                      -- Zorak, evil space mantis
>>
>>
>>
>>
>> --
>> To unsubscribe: mail [EMAIL PROTECTED] with
>> "unsubscribe"
>> as the Subject.
>>


> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to