Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use warp #69

Open
NimaTarlani opened this issue Jan 30, 2024 · 8 comments
Open

how to use warp #69

NimaTarlani opened this issue Jan 30, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@NimaTarlani
Copy link

NimaTarlani commented Jan 30, 2024

hi. I want to use Warp.
I configured Warp with Wireguard and

{
   "tag": "warp",
   "protocol": "freedom",
   "streamSettings": {
     "sockopt": {
       "tcpFastOpen": true,
       "interface": "warp"
     }
   }
}

I added this to /root/libertea/providers/vless-ws/config.json, but the connection does not go through Warp.
Did I go wrong somewhere, or is it still not possible to use Warp?
I would be grateful if someone could help me

And that Iran's IP traffic is not directed. How to block the site and IPs of Iran or other countries

@VZiChoushaDui VZiChoushaDui added the enhancement New feature or request label Jan 30, 2024
@VZiChoushaDui
Copy link
Owner

If you modify xray-core configuration files, you should run the following command afterwards to reinitialize Libertea in development mode (and build docker images for you).

cd /root/libertea
export ENVIRONMENT="dev"
./init.sh update

After this, your new xray-core configuration will take effect. Make sure to update config of all providers that you use.

If you succeeded in integrating warp, please update this issue so we can add it as a setting in the future updates of Libertea!

@NimaTarlani
Copy link
Author

Should I edit all the config.json files together and add warp?
What about config.json.sapmle? Should I edit this too?

@VZiChoushaDui
Copy link
Owner

You need to edit all config.json.sample files. The config.json files will be overwritten by init.sh script after you run it.

@NimaTarlani
Copy link
Author

NimaTarlani commented Feb 2, 2024

The panel does not start.
Warp didn't work either.

ERROR: Timeout while waiting for panel to start.
       Please open an issue on https://github.com/VZiChoushaDui/Libertea/issues/new
       and include the following information:

       - component name: libertea-panel
       - OS: "Ubuntu"
       - OS version: "22.04"
       - Docker version: Docker version 25.0.1, build 29cf629
       - Panel listening: False
       - Panel root status code: 000
       - Panel admin status code: 000
       Also include the output of the following command:
           tail -n 100 /tmp/libertea-panel.log 

@VZiChoushaDui
Copy link
Owner

Post the panel logs by running the command:

tail -n 100 /tmp/libertea-panel.log

@NimaTarlani
Copy link
Author

I used this code and all the traffic of my server is bypassed by Warp:

bash <(wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh 2> /dev/null)

@VZiChoushaDui
Copy link
Owner

@NimaTarlani You mean it worked or it didn't work?

@NimaTarlani
Copy link
Author

NimaTarlani commented Feb 14, 2024

yes it worked
Of course, it worked better with wgcf, which was the second option.
But you can also try warp-go, which is the first option. But it didn't work well for me.
(It was just my opinion that you should use wgcf. I suggest you take a backup first and then try both options).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants