From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F02RD-00079W-0s for garchives@archives.gentoo.org; Fri, 20 Jan 2006 20:00:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k0KJtaTr009150; Fri, 20 Jan 2006 19:55:36 GMT Received: from smtp.athabascau.ca (smtp.athabascau.ca [131.232.10.21]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0KJnLo4029484 for ; Fri, 20 Jan 2006 19:49:21 GMT Received: from CONVERSION-DAEMON.local.athabascau.ca by local.athabascau.ca (PMDF V6.2-1x9 #31241) id <0ITE0DC01PQ8EP@local.athabascau.ca> for gentoo-user@lists.gentoo.org; Fri, 20 Jan 2006 12:49:20 -0700 (MST) Received: from dimon2.pc.athabascau.ca ([131.232.4.114]) by local.athabascau.ca (PMDF V6.2-1x9 #31241) with ESMTP id <0ITE0D8H8PQ7P1@local.athabascau.ca> for gentoo-user@lists.gentoo.org; Fri, 20 Jan 2006 12:49:19 -0700 (MST) Date: Fri, 20 Jan 2006 12:49:21 -0700 From: "Dmitry S. Makovey" Subject: [gentoo-user] iptables question To: gentoo-user@lists.gentoo.org Message-id: <200601201249.25509.dmitry@athabascau.ca> Organization: Athabasca University X-Envelope-from: dmitry@athabascau.ca Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1560842.QaEtNjO6ID; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7BIT User-Agent: KMail/1.9 X-Archives-Salt: 7dc060dc-009b-445c-875f-72202f996d9b X-Archives-Hash: 233200d261fcc91d40a3acfdf1d5ea7d --nextPart1560842.QaEtNjO6ID Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline somewhat offtopic, but since I need any help I can get: how do I redirect trafic from outward facing interface=20 (192.168.1.114:80) to loopback device (127.0.0.1:80) ? my most obvious trick: iptables -t nat -A PREROUTING -p tcp -d 192.168.1.114 --dport 80 \ -j DNAT --to 127.0.0.1:80 and=20 echo 1 > /proc/sys/net/ipv4/ip_forward didn't help. Machine which is opening connection is hanging there=20 indefinitely... what did I miss? =2D-=20 Dmitry Makovey Web Systems Administrator Athabasca University (780) 675-6245 --nextPart1560842.QaEtNjO6ID Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD0T7FyDrVuGfS98QRAnBQAJ9zLSB5m8scCpn35EAybjHhnR6FcACcDem9 CRWf5sHi+YqS7Yz1sryleTY= =lEus -----END PGP SIGNATURE----- --nextPart1560842.QaEtNjO6ID-- -- gentoo-user@gentoo.org mailing list