Libertea icon indicating copy to clipboard operation
Libertea copied to clipboard

how to use warp

Open NimaTarlani opened this issue 1 year ago • 8 comments

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

NimaTarlani avatar Jan 30 '24 07:01 NimaTarlani

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!

VZiChoushaDui avatar Jan 30 '24 19:01 VZiChoushaDui

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

NimaTarlani avatar Feb 01 '24 07:02 NimaTarlani

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

VZiChoushaDui avatar Feb 01 '24 10:02 VZiChoushaDui

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 

NimaTarlani avatar Feb 02 '24 10:02 NimaTarlani

Post the panel logs by running the command:

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

VZiChoushaDui avatar Feb 02 '24 22:02 VZiChoushaDui

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)

NimaTarlani avatar Feb 06 '24 06:02 NimaTarlani

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

VZiChoushaDui avatar Feb 13 '24 15:02 VZiChoushaDui

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).

NimaTarlani avatar Feb 14 '24 05:02 NimaTarlani