[ale] ubuntu IMAP does't work, neither does wireless-SOLVED
Paul Cartwright
ale at pcartwright.com
Thu Nov 4 07:30:02 EDT 2010
On 11/04/2010 06:32 AM, Paul Cartwright wrote:
> ok, so I can ssh FROM debian TO the laptop and connect, but the
> connection times out going from laptop to debian..
ok, so the ssh part is solved.. it was Debian iptables..although I don't
understand it, because I know I've ssh'ed into debian in the last month,
and my uptimes is 80 days..
I ran a script I have:
iptables -I INPUT -p tcp -m state --state NEW --dport 22 -i eth0 -j ACCEPT
/sbin/iptables -N ssh-connection
/sbin/iptables -A ssh-connection -i eth0 -p tcp --dport 22 -m recent
--update --seconds 600 --hitcount 4 --rttl --name SSH -j LOG
--log-prefix "SSH_brute_force "
/sbin/iptables -A ssh-connection -i eth0 -p tcp --dport 22 -m recent
--update --seconds 600 --hitcount 4 --rttl --name SSH -j DROP
/sbin/iptables -A ssh-connection -p tcp --dport 22 -m state --state NEW
-m recent --set --name SSH -j ACCEPT
and then I could ssh into debian again..
this time I did an iptables-save !
--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
More information about the Ale
mailing list