Skip to content

Instantly share code, notes, and snippets.

@prianichnikov
Last active September 14, 2023 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save prianichnikov/477460f2c6873de8763409b1df58f8fe to your computer and use it in GitHub Desktop.
Save prianichnikov/477460f2c6873de8763409b1df58f8fe to your computer and use it in GitHub Desktop.
cd /opt/vpnserver
# Создаем новый tap-интерфейс, где:
# VPN - название созданного хаба,
# /DEVICE - часть названия tap-интерфейса, которое будет добсавлено к "tap_"
./vpncmd localhost:5555 /SERVER /CMD BridgeCreate VPN /DEVICE:vpn /TAP:yes
# Проверяем ново-созданный интерфейс
# Status должен быть "Operating"
./vpncmd localhost:5555 /SERVER /CMD BridgeList
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment