Skip to content

Instantly share code, notes, and snippets.

@Hansimov
Created October 5, 2023 15:47
Show Gist options
  • Save Hansimov/35b9fc62ac4a57581d61e56210cb4de9 to your computer and use it in GitHub Desktop.
Save Hansimov/35b9fc62ac4a57581d61e56210cb4de9 to your computer and use it in GitHub Desktop.
Use Microsoft Azure to forward network traffic with X-UI

Do following steps:

  1. Apply a student account of Azure, with @*.edu email:

  2. Start to create a B1S (Linux) server via this page:

  3. Config the server and create:

    • Use username and password. (Easy to login.)
  4. Wait for the server creation completed, then login in local console:

    ssh <username>@<public_ip>
    
  5. Install x-ui:

    sudo su
    bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
    
    • This would setup x-ui admin, password and login port.
  6. Go to azure b1s server info page, and select Network:

    • Allow specified ports, which are used by x-ui login and network traffic forward.
  7. Visit <public_ip>:<login_port> in browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment