On Sunday 22 October 2006 22:07, Nico Schümann wrote: > 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.
i don't think so. for doing it you'll need a application layer firewall... you should try this: http://l7-filter.sourceforge.net/ []'s .m -- gentoo-user@gentoo.org mailing list