From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <015401c72415$d94b91b0$0200a8c0@mics.local> From: "Nikolay(computer-service.ru)" To: "ALT Linux sysadmin discuss" References: <012c01c72412$55143f30$0200a8c0@mics.local> <4588FC11.4080404@junior.esoo.ru> Date: Wed, 20 Dec 2006 12:04:26 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Content-Transfer-Encoding: quoted-printable X-SpamTest-Info: Profile: Formal (849/061219) X-SpamTest-Info: Profile: Detect Standard (4/030526) X-SpamTest-Info: Profile: SysLog X-SpamTest-Info: Profile: Archiving/Rejecting (2/030321) X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release Subject: Re: [Sysadmins] DNAT??? X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 09:08:39 -0000 Archived-At: List-Archive: ----- Original Message -----=20 From: "Anton Kvashin" To: "ALT Linux sysadmin discuss" Sent: Wednesday, December 20, 2006 12:02 PM Subject: Re: [Sysadmins] DNAT??? > Nikolay(computer-service.ru) =D0=C9=DB=C5=D4: > > =EE=D5=D6=CE=CF =DE=D4=CF=C2=D9 =D7 =CF=C4=CE=CF=CA =D3=C5=D4=C9(192.= 168.0.*) =C2=D9=CC =D7=C9=C4=C5=CE =CB=CF=CD=D0 =C4=D2=D5=C7=CF=CA(192.16= 8.1.1) > > =D3=C5=D4=C9 =D0=CF =CF=D0=D2=C5=C4=C5=CC=C5=CE=CE=CF=CD=D5 =D0=CF=D2= =D4=D5(80), > > =CE=CF =D3=C5=D4=C9 =D0=D2=C9 =DC=D4=CF=CD =C4=D2=D5=C7 =C4=D2=D5=C7=C1= =CE=C5 =D7=C9=C4=C5=CC=C9. =E4=D5=CD=C1=C0 =CE=C1=C4=CF =C9=D3=D0=CF=CC=D8= =DA=CF=D7=C1=D4=D8 DNAT > > =D0=C9=DB=D5 =D7 iptables > > -A PREROUTING -p tcp -d 192.168.1.1 --dport 80 -j DNAT --to-destinat= ion > > 192.168.0.40:80 > > =F0=D2=C9 =CF=C2=D2=C1=DD=C5=CE=C9=C9 =CE=C1 192.168.1.1:80 =D1=C4=D2=CF= =CF=D4=C4=C1=D3=D4 =DA=C1=D0=D2=CF=D3 =CE=C1 192.168.0.40:80 > > > =EF=C2=D2=C1=DD=C1=C0=D3=D8 =C9=DA =D3=C5=D4=C9 192.168.0.* =CB ip 1= 92.168.0.40 =CE=C1 80 =D0=CF=D2=D4 =C9 =DB=C9=DB =DE=C5=C7=CF. > > =E9=DA =D0=D2=C9=CD=C5=D2=C1, =D7=C9=C4=CE=CF, =DA=C1=D0=D2=CF=D3 =C9=C4= =C5=D4 =D7 =CF=C4=CE=CF=CA =D3=C5=D4=C9, =D0=D2=C9=DE=C5=CD =DA=C4=C5=D3=D8 > 192.168.1.1? =F3=C4=C5=CC=C1=CA=D4=C5 =DA=C1=D0=D2=CF=D3 =C9=DA 192.168= .1.0/24 =CB 192.168.1.1, =C4=CF=CC=D6=C5=CE > =CF=D4=D7=C5=D4=C9=D4=D8 192.168.0.40, =C5=D3=CC=C9 =CB=CF=CE=C5=DE=CE=CF= , =D7=D3=C5 =D0=D2=C1=D7=C9=CC=D8=CE=CF =CE=C1=D3=D4=D2=CF=C5=CE=CF. =D3=C5=D4=C9 =D2=C1=DA=CE=D9=C5 =CE=C1=C4=CF =D5=D7=C9=C4=C5=D4=D8 =CB=CF= =CD=D0 192.168.1.1:80 =C9=DA 192.168.0.0/24 =CE=CF =D0=D2=C9 =DC=D4=CF=CD =CE=C9=DE=C5=C7=CF =C2=CF=CC=D8=DB=C5 > > --=20 > Anton Kvashin > _______________________________________________ > Sysadmins mailing list > Sysadmins@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/sysadmins >