2025-01-30 15:43:45 -05:00
2025-01-30 15:43:45 -05:00
2025-01-30 15:43:45 -05:00
2025-01-30 15:43:45 -05:00
2025-01-30 15:43:45 -05:00
2025-01-30 15:43:45 -05:00
2025-01-30 15:43:45 -05:00
2025-01-30 15:43:45 -05:00

Network Namespace setup using SSH SOCKS proxy

Creating new namespace

 sudo mkdir /etc/nnss/vps1

 sudo tee /etc/nnss/vps1/config > /dev/null
Hostname xx.xx.xx.xx
User vps_user_name_here
Port 8822 # If the ssh server is not on default port 22

 cp ~/.ssh/id_ed25519_for_vps1 /etc/nnss/vps1/privatekey

Entering namespace

 sudo systemd-run --property=NetworkNamespacePath=/run/netns/vps1ns --property=User=$USER --shell
Description
No description provided
Readme MPL-2.0 56 KiB
Languages
Shell 61.3%
Makefile 38.7%