Actually, for the internal network, you're better using split horizon 
DNS...also known as an itnernal view.

On Fri, 6 Sep 2002, Nick Lindsell wrote:

> 
> >
> > > > 1.1.1.2. I understand that machines on the internal network (eth0) 
> > would not
> > > > be able to make use of this, but as long as it works from the net 
> > connection
> > > > (ppp0) then that is ok. That's all I need. But, of course, if there 
> > is a way
> > > > where this would work for both then thats even better.
> > > >
> > > > Has anyone actually managed to get this working right?
> > > > Any help would be greatly appreciated.
> 
> 
> Use masquerade or snat from the internal network:-
> 
> $IPTABLES -A POSTROUTING -t nat -o $EXTIF -j MASQUERADE
> 
> or
> 
> $IPTABLES -A POSTROUTING -t nat -s $LOCALNET -j SNAT --to $EXTIP
> 
> (snat is for static IP, masq for dynamic IIRC but we have both)
> 
> 
> then
> 
> $IPTABLES -A PREROUTING -t nat -p tcp -d $EXTIP --dport 8181 -j DNAT --to 
> $INTERNAL_SERVER:80
> 
> 
> We have the exact same setup here, so if you get stuck drop me a line.
> 
> 
> 
> 
> 
> > > >
> > > > TIA
> > > >
> > > > ________________________________________________________________
> > > > Kevin Green
> > > > KD Micro Software :: "Servicing all ends of the evolutionary scale" -
> >Frank
> > > > Holmes
> > > > [EMAIL PROTECTED]
> > > > Phone: 9256 1566 (ext 2778)
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> >--
> >redhat-list mailing list
> >unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> >https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to