From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <012c01c72412$55143f30$0200a8c0@mics.local> From: "Nikolay(computer-service.ru)" To: "ALT Linux sysadmin discuss" Date: Wed, 20 Dec 2006 11:39:15 +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: [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 08:43:10 -0000 Archived-At: List-Archive: =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5 =D5=D7=C1=D6=C1=C5=CD=CF=C5 =D3=CF=CF= =C2=DD=C5=D3=D4=D7=CF! =F0=CF=CD=CF=C7=C9=D4=C5 =D2=C5=DB=C9=D4=D8 =D0=D2=CF=C2=CC=C5=CD=CB=D5. = =E5=D3=D4=D8 2 =D3=C5=D4=C9 192.168.0.* =C9 192.168.1.* =CD=C5=D6=C4=D5 =CE= =C9=CD=C9 =D3=D4=CF=C9=D4 ALT =CD=C1=D3=D4=C5=D2 2.4(=D1=C4=D2=CF 2.4) =D3 =C4=D7=D5=CD=D1 =D3=C5=D4=C5=D7=D9=CD=C9 =CB=C1=D2=D4=C1=CD=C9 =C9 =C4= =D7=D5=CD=D1 ip(192.168.0.40 =C9 192.168.1.40) =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.168.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-destination 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 192.1= 68.0.40 =CE=C1 80 =D0=CF=D2=D4 =C9 =DB=C9=DB =DE=C5=C7=CF.