If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
| More recent resolution: | |
| 1. cd ~/../../etc (go to etc folder in WSL). | |
| 2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
| 3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
| 4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
| 5. cd ~/../../etc (go to etc folder in WSL). | |
| 6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
| 7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
| secondary. |
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
| NOTUSED=1234 |
-L (just in case there is a redirect (in general I know this trick from a youtube video and someone used a hugging face model download where redirected is needed; explain shell curl -L)write links to different subfolders which i use often
example:
ln -s ../git/mercedes/github-enterprise/onboard-distributed-tracing/ onboard-distributed-tracingthen its possible to just
| { | |
| "workbench.colorTheme": "Default Light+", | |
| "workbench.colorCustomizations": { | |
| // https://coolors.co/e5e3d7-6d1a36-33673b-e4572e-083d77 | |
| "editorBracketHighlight.foreground1": "#467599", | |
| "editorBracketHighlight.foreground2": "#E4572E", | |
| "editorBracketHighlight.foreground3": "#8EA604", | |
| "editorBracketHighlight.foreground4": "#6D1A36" | |
| }, | |
| "vim.startInInsertMode": true, |