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.60) (envelope-from ) id 1GboW6-0003Vp-K3 for garchives@archives.gentoo.org; Mon, 23 Oct 2006 01:22:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9N1IjYw011336; Mon, 23 Oct 2006 01:18:45 GMT Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.205]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9N1EYcl009258 for ; Mon, 23 Oct 2006 01:14:34 GMT Received: by nz-out-0102.google.com with SMTP id 9so752998nzo for ; Sun, 22 Oct 2006 18:14:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=SL5MuWNVmq2WvRk9QhWHKcvvapeGUweur/B8HY0O69a3LAGsu0mLkoV32JzTytYiVqacC7XcnlrdjLH6dxHjron1Rjx7XfEaStxxSFUgFkJaNqsNvAtj54AAgE1Tm0KQHLT9b0k+vujQwLc248DBVe+WPZoGJgJSVRzXodSeT0A= Received: by 10.65.219.10 with SMTP id w10mr4430387qbq; Sun, 22 Oct 2006 18:07:27 -0700 (PDT) Received: by 10.64.213.8 with HTTP; Sun, 22 Oct 2006 18:07:26 -0700 (PDT) Message-ID: <1f05046e0610221807x78e33a78rc11ea00257f52490@mail.gmail.com> Date: Mon, 23 Oct 2006 03:07:27 +0200 From: "=?UTF-8?Q?Nico_Sch=C3=BCmann?=" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Can iptables recognize SSH traffic? 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: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: f1420cd0-00f5-4d96-ae02-ab643705c293 X-Archives-Hash: d8ccda3d22a6654a335a2a149c05bb9a Hello folks, I have a web server running on port 80 and a SSH daemon running on port 22. I don't want to change these ports because it just works this way. Can I configure iptables that it just accepts port 80 and if I try to connect with a ssh client to port 80 to forward this ssh traffic to port 22? I know how all this accept and forwards stuff works, but I can't find out an option to recognize ssh traffic. Tanks a lot, Nico -- gentoo-user@gentoo.org mailing list