Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Richard Buehler on May 09, 2001, 02:47:06 AM

Title: INTERNAL WEB SERVER?
Post by: Richard Buehler on May 09, 2001, 02:47:06 AM
I need to host a external web site from a box behind an e-smith fire wall.

I tried to bind a 2nd IP address to the outside NIC using

ifconfig eth1:1 aaa.bbb.ccc.35 netmask 255.255.255.224

where the default ( eth1:0) address was aaa.bbb.ccc.34

I then tried to forward the port from the 2nd IP to an internal address using

ipmasqadm portfw -a -P tcp -L aaa.bbb.ccc.35 80 -R 10.0.1.11 80

From what I have read this should work but does not. If you know why help would be appreciated or if you have another suggestion.


Thanks.