Networking
Networking
SSH tricks, tunnels and DNS server notes.
SSH tunneling examples: local and remote port forwarding with every flag explained, plus a pointer to building an SSH VPN.
Run a persistent SSH SOCKS proxy as a systemd service that restarts automatically when the connection drops.
Three ways to start a GUI program on a remote machine over SSH: X11 forwarding, the -display option and the DISPLAY variable.
Start TeamViewer on a remote Linux desktop when all you have is SSH: check the daemon, get the ID, launch it and grab the password.
Send BIND9 DNS server logs to a dedicated file on Ubuntu instead of syslog, including the AppArmor change needed to allow it.
Last updated on