Which, of course, would only address inbound connections, not outbound 
masquerading.

On Tue, 30 Jul 2002, Jim Bowen wrote:

> There is no equivalent in ipchains - full NAT was only introduced in
> iptables. The closest you could get in ipchains would be lots of port
> forwarding.
> 
> Jim
> 
> -----Original Message-----
> From: Mike Burger [mailto:[EMAIL PROTECTED]] 
> Sent: 30 July 2002 12:00
> To: [EMAIL PROTECTED]
> Subject: Re: IP(internal) -> IP(external)
> 
> Unfortunately, I don't know ipchains.  I could give you the iptables 
> commands, and maybe you could adapt them to the equivalent ipchains 
> commands?
> 
> iptables -t nat -A POSTROUTING -o eth0 -s xxx.xxx.xxx.xxx -j SNAT --to
> yyy.yyy.yyy.yyy
> 
> xxx.xxx.xxx.xxx, of course, is the internal IP, yyy.yyy.yyy.yyy is the 
> external.
> 
> You should also note that eth0 should be changed to whatever the external 
> interface really is.
> 
> On Tue, 30 Jul 2002, Andrzej Marci/nczyk wrote:
> 
> > 
> > 
> > The Masquerading is based on "ipchains" directive,
> > as described in many www-pages.
> > I am using 1 IP (X.X.X.18) now, but I have more IPs assigned
> > (X.X.X.19-22, i.e. NetMask is 255.255.255.248).
> > As I wrote, now all computers have the connection by the
> > 1 IP, but I should have some computers (in the internal
> > network !) available (from external network) by the X.X.X.19-22 IPs.
> > 
> > 
> > > That depends on:
> > > 
> > > 1) What you're using as a firewall/NAT/Masquerading box..
> > > 2) If you have additional external IPs assigned to you by your ISP and 
> > > available for NAT purposes.
> > > 
> > > On Tue, 30 Jul 2002, Andrzej Marci/nczyk wrote:
> > > 
> > > > 
> > > > Hi,
> > > > does anybody know how to do (or configure) the RH7.2 server
> > > > for the following purpose:
> > > > there is an internal network (192.168.1.xxx) which is
> > > > masquaraded to the external network with 1 external IP.
> > > > I must make the server to work in such a way that some
> > > > internal computers (i.e. with internal IPs) may go out
> > > > with (different !) external IPs. The computers MUST have
> > > > their internal IPs. And vice versa: calling the external
> > > > IPs must be converted by the server to the internal IPs.
> > > > If it is possible, the iptables should not be used.
> > > > 
> > > > I am assigned more than 1 external IP by my internet
> > > > provider, but only 1 is used now.
> > > > 
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED]
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > > 
> > 
> > 
> > 
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> > 
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.messagelabs.com
> ________________________________________________________________________
> 
> This E-Mail is sent in confidence for the addressee only.  Unauthorised recipients 
>must preserve this confidentiality and should please advise the sender immediately by 
>telephone (+44 (0)870 241 6492) and return the original E-Mail to the sender without 
>taking a copy. Cyprotex has taken all reasonable precautions to ensure that no 
>viruses are transmitted from Cyprotex to any third party.  Cyprotex accepts no 
>responsibility for any loss or damage resulting directly or indirectly from the use 
>of this E-Mail or the contents.
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> 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