From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <017401c72418$32614900$0200a8c0@mics.local> From: "Nikolay(computer-service.ru)" To: "ALT Linux sysadmin discuss" References: <012c01c72412$55143f30$0200a8c0@mics.local> <4588F951.1010405@reutman.ru> Date: Wed, 20 Dec 2006 12:21:14 +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 (853/061220) 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:58:07 -0000 Archived-At: List-Archive: > Nikolay(computer-service.ru) =D0=C9=DB=C5=D4: > > =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.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 > > > > =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. > > > =CE=C5 =CE=C1=C4=CF dnat > =D0=D2=CF=D3=D4=CF =D2=C1=DA=D2=C5=DB=C9 =DC=D4=CF=CD=D5 =CB=CF=CD=D0=D5= =D7=C9=C4=C5=D4=D8 80 =D0=CF=D2=D4 =C4=D2=D5=C7=CF=C7=CF =CB=CF=CD=D0=C1= , =C1 =D0=CF=D3=CC=C5 =DC=D4=CF=C7=CF =D0=D2=C1=D7=C9=CC=C1 =DA=C1=D0=D2=C5=D4=C9 =CF=D3=D4=C1=CC=D8=CE=CF=CA = =CF=C2=CD=C5=CE =CD=C5=D6=C4=D5 =D3=C5=D4=D1=CD=C9 =CB=CF=CD=D0 =D3 ip 192.168.0.40 =CE=C5 =D1=D7=CC=D1=C5=D4=D3=D1 =DB=CC=C0= =DA=CF=CD =C4=CC=D1 =D3=C5=D4=C9 192.168.0.0/24 =CE=C1=D3=CB=CF=CC=D8=CB=CF =D1 =D0=CF=CE=C9=CD=C1=C0 =C2=C5=DA =DC=D4=CF=C7=CF =DA=C1=D0=D2=CF=D3=D9 =CE=C1 192.168.1.1:80 =CE= =C5 =D0=CF=CA=C4=D5=D4. =E1 =CD=CE=C5 =C2=D9 =CE=C1=C4=CF =D3=C4=C5=CC=C1=D4=D8 =DE=D4=CF=C2=D9 = =D1 =CF=C2=D2=C1=D4=C9=D7=DB=C9=D3=D8 =C9=DA =D3=C5=D4=C9 192.168.0.0/24 = =CE=C1 192.168.0.40:80 =D0=CF=CC=D5=DE=C9=CC =CF=D4=D7=C5=D4 =CF=D4 192.168.1.1:80, =CB=C1=CB =C5=D3=CC=C9 =C2=D9 =CF=CE =C2=D9=CC =D7= 192.168.0.0/24 > > --=20 > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E1=CC=C5=CB=D3=C5=CA =F3=C9=C4=CF=D2=CF= =D7 > mailto:alex@reutman.ru > JID: alex@reutman.ru > ICQ: 5052225 > _______________________________________________ > Sysadmins mailing list > Sysadmins@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/sysadmins >