Attention truc de barbu. L'utilisateur remote doit être root.
Local :
Ajouter Tunnel yes et TunnelDevice any:any dans /etc/ssh/ssh_config, puis :
ssh root@172.20.2.3 -w 0:0 -N
ifconfig tun0 10.2.2.1 netmask 255.255.255.252 | #!/bin/bash | |
| # Forked from : https://github.com/adamff1/WiFi-Spam | |
| # TERMINAL COLORS | |
| # https://github.com/1225K/terminal-colors | |
| NO_COLOR="\e[0m" | |
| WHITE="\e[0;17m" | |
| BOLD_WHITE="\e[1;37m" | |
| BLACK="\e[0;30m" |