I would recommend using firehol for something like this. The following /etc/firehol/firehol.conf would do the trick:
interface any world server ssh accept client all accept In fact, I think that's close to the default conf file. You should read the docs, though, you don't want to screw it up and not be able to connect. Cheers, Eric On Sun, May 24, 2009 at 11:12:04PM +0200, Pawel Cholewinski wrote: > Hello > I want to filter traffic on SSH server. I want to ACCEPT only SSH trafic > on SSH server computer. Packet SSH which receive and send should be > ACCEPT. Other traffic should be DROP. Which protocol I must use. I know > that port nr 22 is used default. > So, what I must type to do this? > > Thanks > pch0317 > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a > subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > -- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerl...@feds.uwaterloo.ca -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org