Skip to content

Instantly share code, notes, and snippets.

View PinkD's full-sized avatar
🐟
摸鱼

PinkD PinkD

🐟
摸鱼
View GitHub Profile
@PinkD
PinkD / proxy_venv.sh
Last active January 20, 2025 17:35
setup a netns and connect to host network with veth
#!/bin/bash
netns=proxy
veth=veth-proxy
host_addr="172.16.233.1/24"
ns_addr="172.16.233.2/24"
verbose=""
user=$(whoami)