Create a SOCKS proxy on a Linux server with SSH to bypass content filters

https://ma.ttias.be/socks-proxy-linux-ssh-bypass-content-filters/

Are you on a network with limited access? Is someone filtering your internet traffic, limiting your abilities? Well, if you have SSH access to any server, you can probably set up your own SOCKS5 proxy and tunnel all your traffic over SSH.

From that point on, what you do on your laptop/computer is sent encrypted to the SOCKS5 proxy (your SSH server) and that server sends the traffic to the outside. It’s an SSH tunnel on steroids through which you can easily pass HTTP and HTTPs traffic. And it isn’t even that hard. This guide is for Linux/Mac OSX users that have direct access to a terminal, but the same logic applies to PuTTy on Windows too.

Bash script to block an IP address in linux

In order to block an IP or a class of IPs on your Linux server you need to use iptables tools (administration tool for IPv4 packet filtering and NAT) and netfilter firewall. First you need to log into shell as root user.

To block an IP address you need to type the command as follows:
./drop IP

You can also unblock an IP by suppling -r parameter:
./drop -r IP
Continue reading…

Ștergere error_log din /home

Dacă dorești vreodată să ștergi fișierele error_log de ​​la toate site-urile găzduite pe server, și ai acces la server prin intermediul SSH, următoarea comandă va elimina în liniște aceste fișiere:

find /home/ -type f -name error_log -delete

Mousepad profesional SteelSeries QcK mass

mousepadDe câteva zile, “şoricelul” meu Logitech a început să nu mai “fugă” la fel de bine pe birou, aşa că am căutat pe siteurile de specialitate un mousepad textil. Am dat de Mousepad profesional SteelSeries QcK mass, un mousepad profesional, textil, compatibil cu toate tipurile de mouse şi având dimensiune: 320mm x 285mm x 6mm. Ce îmi place cel mai mult la el este că nu alunecă pe birou (baza cauciucată îşi face bine datoria).

Specificaţii:

  • Inveliş: textil
  • Dimensiuni: 320 x 285 x 6 mm
  • Altele: bază cauciucată

steelseries

LED TV Samsung UE40C5000

Caracteristici generale
• Anynet+ (HDMI-CEC) disponibil
• Căutare automată de canale disponibilă
• Oprire automată disponibilă
• Echilibrare automată volum disponibilă
• Subtitrări acceptate
• Programare alarmă disponibilă
• AllShare (Pe platformă DNLA)
• EPG disponibil
• Mod jocuri disponibil
• Limbi OSD (25 de limbi)
• Picture-in-Picture (1 Tuner PIP)
• Temporizator pentru oprire automată disponibil
• USB (Film)
• Suport adaptor WiFi inclus
• Time Shift disponibil
• Still Picture disponibilă
• Channel List USB-Clone disponibil
• Filtru digital de zgomot disponibil
• Teletext (TTXT) Mega TTX

Continue reading…

Docking Station Raidsonic IB-110StUS2-B

Mi-am luat recent un docking station pentru harddisk-uri SATA de 3.5 (si 2.5), baza compacta fabricata dintr-un material sintetic de calitate premium, LED-uri de stare pentru alimentare si acces, interfata eSATA si USB 2.0. Momentan sunt multumit de el, desi nu-l folosesc atat de des pe cat ma asteptam.

Pe la doctor…

Din pacate a trebuit sa merg luni (20 oct. 2008) la un doctor, pentru echograf; aveam o durere in zona rinichiului stang, care ulterior a coborat spre vezica. Marti am fost sa-mi fac analize si la sange. Miercuri mi-au venit analizele, deja stiam ca am ficatul marit cu 2 cm (de luni seara), si am aflat ca am acidul uric si trigliceridele peste nivelul normal.

Continue reading…