dnk: add ip to route table
This commit is contained in:
parent
7ae9f27a9f
commit
f162300f0f
@ -89,6 +89,8 @@ PublicKey = ${USER_PUB_KEY}
|
||||
AllowedIPs = ${USER_IP}
|
||||
# END ${USER}
|
||||
EOF
|
||||
|
||||
ip -4 route add ${USER_IP}/32 dev ${SERVER_NAME}
|
||||
}
|
||||
|
||||
function remove_user_from_server {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user