Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevin01523/77fc2512fe0bcba4725d14613f9e4005 to your computer and use it in GitHub Desktop.
Save kevin01523/77fc2512fe0bcba4725d14613f9e4005 to your computer and use it in GitHub Desktop.
cd /opt/vpnserver
# Создаем новый tap-интерфейс, где:
# VPN - название созданного хаба,
# /DEVICE - часть названия tap-интерфейса, которое будет добсавлено к "tap_"
./vpncmd localhost:5555 /SERVER /CMD BridgeСreate 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