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
Created July 8, 2023 10:13
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"
user=$(whoami)
help() {