For God's sake.
Run the following command to install x-ui
on Europe server. You will be prompted to enter a username, a password, and a panel port.
bash <(curl -Ls https://bit.ly/3rLSq2B) --europe --install
In case if x-ui
has stopped working, run the following command to restart it.
bash <(curl -Ls https://bit.ly/3rLSq2B) --europe --restart
After installing, find the public IP of your server using the command hostname -I
(for instance, 1.1.1.1).
During installation, it asked you the port (for instance, 8080).
Now go to the web browser and enter http://ip:port (for instance, http://1.1.1.1:8080).
- Note: It's important to go to ip:port using http not https.
- A website is up, you have to login using the username and password you entered in the installation process.
- Go to the "Inbounds" tab.
- Click on "Add Inbounds".
- Enter the name of config in the "remark" section. (The protocol should be vless.)
- Create the config.
- Now you can share the config link using direct link or QR code.
Run the following command command. Replace 1.1.1.1
with the IP of your Europe server.
bash <(curl -Ls https://raw.githubusercontent.com/mahdavifar2002/free-net/main/script.sh) --iran --install --server 1.1.1.1
In case if you have changed IP of Europe server, run the following command command to update it. Replace 1.1.1.1
with the new IP of your Europe server.
bash <(curl -Ls https://raw.githubusercontent.com/mahdavifar2002/free-net/main/script.sh) --iran --update --server 1.1.1.1
After every reboot on Iran server, run the following command to activate packet forwarding.
bash <(curl -Ls https://raw.githubusercontent.com/mahdavifar2002/free-net/main/script.sh) --iran --restart
- Install Qv2ray for Windows.
- Download and extract Xray on a permanent location.
- Open Qv2ray app, Go to
Preferences
, thenKernel Settings
. ChangeV2ray Core Executable Path
to the address ofxray.exe
file inside the location where you extracted Xray. Also change theV2ray Assets Directory
to the address of Xray folder. - Click OK.
- Click on
+ Import
button below the window, and paste your config under theShare Link
. Then, click onImport
. - Double-click on
Default Group
below the search area, and find the config you just imported. Click on it, then click on the play icon to connect to your config.
- Install Qv2ray for Linux.
- Download and extract Xray on a permanent location.
- The next steps are similar to the installation process on Windows.
- Install v2rayNG for Android.
- Copy your config.
- Open v2rayNG app, press
+
button, pressImport config from Clipboard
. - Press the
V
button below the screen to connect to the config.