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 t
On Sun, May 24, 2009 at 11:12:04PM +0200, Pawel Cholewinski wrote:
> 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 po
Thanks for answers.
Alex Samad wrote:
On Mon, May 25, 2009 at 12:53:58PM +0100, Nuno Magalhães wrote:
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -j DROP
but that will not work how you expect (don't implement it remotely )
How would one implement it remotely? I
On Mon, May 25, 2009 at 12:53:58PM +0100, Nuno Magalhães wrote:
> > iptables -A INPUT -p tcp --dport 22 -j ACCEPT
> > iptables -A INPUT -j DROP
> >
> > but that will not work how you expect (don't implement it remotely )
>
> How would one implement it remotely? I (may have) read somewhere that
> b
> iptables -A INPUT -p tcp --dport 22 -j ACCEPT
> iptables -A INPUT -j DROP
>
> but that will not work how you expect (don't implement it remotely )
How would one implement it remotely? I (may have) read somewhere that
blocking everything but ssh wouldn't mess with your ssh session, but
i'm not su
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
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
p
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
p
8 matches
Mail list logo