 
      
    | You are here | stephank.nl | ||
| | | | | ops.tips | |
| | | | | Yet another blog post on how to create a virtual network that connects network namespaces using a brdige, veth pairs and iptables. | |
| | | | | francis.begyn.be | |
| | | | | Using NixOS as a router - Francis Begyn's thoughts | |
| | | | | eradman.com | |
| | | | | ||
| | | | | jo-m.ch | |
| | | Shell Snippets SSH # SSH Keygen # ssh-keygen -o -a 100 -t ed25519 SSH Tunnel # ssh -N -L2001:localhost:80 somemachine Now you can access the website by going to http://localhost:2001/ SSH Proxy # ssh -q -N -D 5001 user@host # e.g. ssh -q -N -D 5001 pi4 You can now set localhost:5001 as a socks proxy in Firefox and it will appear as connecting from host. SSH port forwarding # ssh -R 12345:localhost:22 example.org "sleep 1000; exit" Forwards example.org's port 12345 to your local ssh port, even if your machine is not externally visible on the net. Now you can ssh localhost -p 12345 from example.org and you will log into your machine. | ||