Gentoo Archives: gentoo-user

From: "Nico Schümann" <nico.schuemann@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Can iptables recognize SSH traffic?
Date: Mon, 23 Oct 2006 01:22:15
Message-Id: 1f05046e0610221807x78e33a78rc11ea00257f52490@mail.gmail.com
1 Hello folks,
2
3 I have a web server running on port 80 and a SSH daemon running on
4 port 22. I don't want to change these ports because it just works this
5 way.
6 Can I configure iptables that it just accepts port 80 and if I try to
7 connect with a ssh client to port 80 to forward this ssh traffic to
8 port 22? I know how all this accept and forwards stuff works, but I
9 can't find out an option to recognize ssh traffic.
10
11 Tanks a lot,
12 Nico
13 --
14 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Can iptables recognize SSH traffic? Mauro Faccenda <faccenda@×××.net>
Re: [gentoo-user] Can iptables recognize SSH traffic? Greg Bur <greg.bur@×××××.com>