Last active
April 9, 2023 18:56
-
-
Save ashkanRmk/da15f93233860e294d270addda2705d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| **EU Server scripts** | |
| apt-get update -y && apt-get upgrade -y | |
| apt install curl -y | |
| bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh) | |
| -------------------------------------------------------------- | |
| **Iran Server scripts** | |
| # replace IRAN_IP and EU_IP | |
| apt-get update -y && apt-get upgrade -y | |
| sysctl net.ipv4.ip_forward=1 | |
| iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to-destination IRAN_IP | |
| iptables -t nat -A PREROUTING -j DNAT --to-destination EU_IP | |
| iptables -t nat -A POSTROUTING -j MASQUERADE | |
| -------------------------------------------------------------- | |
| **Finally open below link for admin panel** | |
| # replace EU_IP | |
| EU_IP:54321 |
Author
Hello, thank you for this help, I wanted to know how long the internet speed has been disrupted v2ray It has come too low, you have no way out for this problem
Author
Hello, thank you for this help, I wanted to know how long the internet speed has been disrupted v2ray It has come too low, you have no way out for this problem
you have to change and test different combinations of protocol and transmission types based on your internet provider and region to get the best result.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems your hosting provider limits your server internet to just the IRAN intranet.
some of them set this limitation for their customer. I suggest you change your IR server provider, this may solve your problem.