quinta-feira, 14 de fevereiro de 2008

iptables exemple

// Block ip
iptables -I INPUT -s
xxx.xxx.xxx.xxx -j DROP

// Blocked list
iptables -L INPUT -x --line-numbers

// Unblock ip
iptables -D INPUT -s xxx.xxx.xxx.xxx -j DROP


// Unblock ip (by rule number)
iptables -D INPUT 33

// Range block
iptables -I INPUT -s xxx.xxx.xxx.xxx/24 -j DROP

How to Enable Click to Minimize On Ubuntu

Open a terminal using Ctrl+Alt+T shortcut or searching for it in the menu. All you need is to copy paste the command below in the terminal: ...