Install iperf3 on a Ubuntu/Debian Linux server apt-get install iperf3 Start an iperf3 server on serverA (server mode) iperf3 -s Start an iperf3 server on serverB (client mode) iperf3 -c ip serverA here How to use UDP rather than TCP iperf3 -s -u (on serverA) iperf3 -c ip serverA -u
Archivos de Categoría: Linux
Linux tips and tricks!
Sometimes you need to open a port on your server, you want it to be recheable only from specific IP address, you can use Iptables for this.Show iptables rules. iptables -L -v Rules for open port 22 to one IP iptables -I INPUT -p tcp -s 0.0.0.0/0 –dport 22 -j DROP iptables -I INPUT -p […]
To add an existing user to a secondary group, use the usermod command followed by the -G option and the name of the group: sudo usermod -a -G groupname seba For example, to add the user seba to a group named sudo you’ll need to run the following command: sudo usermod -a -G sudo seba […]
Screen command apt-get install screen El primer paso es ejecutar el script que necesitamos como parámetro del comando screen: screen ./script.sh Si después de ejecutar la linea anterior tecleamos “CTRL+A” y después “CTRL+D”, el sistema nos separará de la sesión actual (en la que estamos ejecutando script.sh) y nos retornará a la terminal a la […]
touch ~/.hushlogin
As soon as any server is set up on the net, it will immediately see attempts at loading the /wp-login.php page. If you actually have a WordPress site set up, you’ll quickly start receiving lots and lots of login attempts. You can stop this completely by limiting access to /wp-login.php and /wp-admin by IP address […]
- 1
- 2