At 04:57 AM 2/28/2001 -0700, Garret Aott wrote:
>Dan,
>  Isn't ipmasqadm already installed on the e-smith server? Also, which file
>must these changes be made in, and where in the file? Sorry to sound
>ingnorant . . . but I am, in this case anyway.

You're right about it already being installed in E-smith.

As far as where to type them, actually, you can type the commands in a root 
shell.  Once you are sure they work like you want (you can erase your 
changes with 'ipmasqadm portfw -f'), then you put the commands into a 
script that is run at startup.

To do this, you might research "Basic Unix administration", or "init", or 
the /etc/rc.d/... structure.  But the easiest way is to just add the 
commands to the end of /etc/rc.d/rc.local (which is the last part to be 
exec'ed during startup).

EXTIP=123.4.5.6
INTIP=10.0.0.65
ipmasqadm portfw -a -P tcp -L $EXTIP 80 -R $INTIP 80

HTH,

-Dan


>Garret Acott
>
>----- Original Message -----
>From: "Dan B" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, February 28, 2001 2:11 AM
>Subject: Re: [e-smith-devinfo] Additional Webserver behind gateway
>
>
> > At 03:55 PM 2/28/2001 +1000, David Boccabella wrote:
> >
> > >I've got a specific requirement.
> > >
> > >I've a small local network of machines to which I'll be adding an e-smith
> > >gateway/server (downloading ISO for 4.1.1 now)
> > >
> > >One of my local machines is a advanced web surver running Win2000 Adv
>Srv,
> > >VB.Net beta and a couple of other things.
> > >I want the web side of this machine to be accessable to the public when I
> > >want it to be - not probs I can just disable anonymous login when I don't
> > >want folks on there. Otherewise it for testing of concepts
> > >
> > >How can I tell the E-Smith machine to pass requests throught to that
> > >machines, and not do any progessing of the passed or returned pages (as
> > >distinct from the apache server trying to read the web pages and process
> > >them)
> >
> > I think this is called "port forwarding".  Install ipmasqadm*.rpm on your
> > box and do:
> > EXTIP=123.4.5.6
> > INTIP=10.0.0.65
> > ipmasqadm portfw -a -P tcp -L $EXTIP 80 -R $INTIP 80
> >
> >
> >
> > >I hope folks will inderstand what I'm trying to do..
> > >
> > >Any suggesstions..
> > >
> > >Dave
> > >
> > >
> > >
> > >--
> > >This list is archived
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > Dan Browning, Cyclone Computer Systems, [EMAIL PROTECTED]
> >
> >
> > --
> > This list is archived
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >

Dan Browning, Cyclone Computer Systems, [EMAIL PROTECTED]

Reply via email to