📜  在wireguard vpn上从外部访问容器的问题-任何代码示例

📅  最后修改于: 2022-03-11 14:59:06.982000             🧑  作者: Mango

代码示例1
PostUp=ip route add $LAN_NETWORK via $(ip route |awk '/default/ {print $3}') dev eth0
PostDown=ip route del $LAN_NETWORK via $(ip route |awk '/default/ {print $3}') dev eth0