
Cloudflare WARP on Enigma2 python3-based images
-
- E2Script
- pepsik
- Thread is marked as Resolved.
-
-
I was using the Cloudflare DNS in my router,
It shouldn't affect anything. Unless you're talented enough to break something that can't be broken. Well, or your local network is configured to such an uncorrectable degree that ... I can't even imagine it
-
after reboot
Code
Display Moreroot@vuzero4k:~# wireguard start Starting all configured Wireguard interfaces [#] echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 [#] /etc/wireguard/cloudflare.sh up cloudflare [#] ip link add cloudflare type wireguard [#] wg setconf cloudflare /dev/fd/63 [#] ip -4 address add 172.16.0.2/32 dev cloudflare [#] ip link set mtu 1420 up dev cloudflare RTNETLINK answers: Address already in use [#] ip link delete dev cloudflare root@vuzero4k:~#
-
RTNETLINK answers: Address already in use
??
This should not be in the log ... Look ... I have not tested on OpenATV 7.4 ... although I see no reason why it should not work there ... Can you put, for example in multiboot, OpenPli 9 and check there ?
OpenATV 7.4 is still a beta version not without "flaws" :)
-
ok, that will be tomorrow, I will do that and get back
-
OpenATV 7.4 is still a beta version not without "flaws"
esuo2 I installed this image and ... it doesn't work … and trouble not in the wireguard scripts from the plugin ... I think it's necessary to look at the ip routing in the image itself ... it seems to me that it's the problem with it.
-
-
to plugin not working with ATV?
1) It's not a plugin in the classic sense. It is a "generator" of configuration files for connection via wireguard protocol with a given "server" for Linux-based OS written on bash
2) The operation of wireguard protocol depends directly on the kernel of the system you are using and does not depend on the Enigma2 framework in any way. You can stop Enigma2 using init 4 and start the wireguard connection ... and, miraculously, it will work
3) Finally ... I found a way to run on OpenATV, OpenBH, etc. It's quite strange but... it works
Attached is a test version
1) Completely uninstall the previously installed version using opkg remove
2) Install the version attached to this post using opkg install, having previously overwritten the installation package to /tmp
3) After you install and see the message that the plugin was successfully installed -turn off your SAT-box into Standby mode using RC. This will stop any network activity
4) Start VPN
5) Wait 5-10 seconds and check your IP
You should see the output of the IP address belonging to the subnet of Cloudflare Inc
6) Turn on your SAT-box using RC
p.s. The wireguard protocol is blocked in some countries such as Egypt, Russia (with some major ISPs), Iran, China, etc., and it will not work there. Yes, these blockages can be bypassed, but then you need to use your own VPN server with the "server part" of wireguard, not Cloudflare's servers. It is not difficult and quite realisable
-
followed the steps to the latter, but it still didn't work for me
-
but it still didn't work for me
In this case, I can't help you any further. Write to the OpenATV forum and ask why THIS works on other images, but not on OpenATV
-
I will try PLI today and let you know buddy!
-
In this case, I can't help you any further
Vu+ Ultimo4K OpenATV 7.4
Code
Display Moreroot@vuultimo4k:~# wireguard start Starting all configured Wireguard interfaces [#] echo 1 | tee /proc/sys/net/ipv4/ip_forward /proc/sys/net/ipv6/conf/all/disable_ipv6 > /dev/null [#] /etc/wireguard/cloudflare.sh up cloudflare [#] ip link add cloudflare type wireguard [#] wg setconf cloudflare /dev/fd/63 [#] ip -4 address add 172.16.0.2/32 dev cloudflare [#] ip link set mtu 1420 up dev cloudflare [#] resolvconf -a cloudflare -m 0 -x [#] ip -4 route add 128.0.0.0/1 dev cloudflare [#] ip -4 route add 0.0.0.0/1 dev cloudflare [#] wg set cloudflare private-key /etc/wireguard/cloudflare.key root@vuultimo4k:~# curl -4 ifconfig.io 104.28.192.94 root@vuultimo4k:~# cat /etc/image-version box_type=vuultimo4k build_type= machine_brand=Vu+ machine_name=Ultimo4K version=7.4
Снимок экрана 2024-02-14 в 11.45.27.png
For reasons unknown to me, IP routing in OpenATV may not start the first time ... If it doesn't work ... do wireguard stop .... then wireguard start again
In any case, this is not a problem with the configuration files for wireguard. This should be dealt with by the authors of this image (OpenATV).
I will try PLI
OpenPli 9 is my main image. I use it in my "normal life" ... It works there =) and not only for me.
-
followed the steps to the latter, but it still didn't work for me
Try to change the dns to freedns in your stb network config
-
Try to change the dns to freedns in your stb network config
freedns = OpenDNS = 208.67.222.222
google = 8.8.8.8
quad = 9.9.9.9
cloudflare = 1.1.1.1
e.t.c
I took the liberty of deciphering your post a bit to make it clearer to the rest of us
-
Thanks a lot about your great explanation for useful vpn
i follow all your advices but use my enigma box without need to use pc as
- i download wgcf_2.2.21_linux_armv7 which compatible with my stb
- rename the file to wgcf
- send the file to path /usr/bin- chmod 755
- from telnet
wgcf register
wgcf generate
- the file wgcf-profile.conf has generated on path /home/root
- follow steps from no. 3
it successfully and work great
ps:
Code
Display More[Interface] PrivateKey = <PRIVATE KEY> Address = 172.16.0.2/24 DNS = 1.1.1.1 MTU = 1420 PostUp = ip route add 162.159.192.1 via 192.168.1.1 PostDown = ip route del 162.159.192.1 via 192.168.1.1 [Peer] PublicKey = <PUBLIC KEY> AllowedIps = 0.0.0.0/1, 128.0.0.0/1 Endpoint = engage.cloudflareclient.com:2408 PersistentKeepalive = 25
192.168.1.1 = IP address of My stb not ip for home router
-
amazing, thanks i will try this for bypass some block from my internet service provider !!
-
Tested on OpenATV 7.5 - works perfectly!
-
to plugin not working with ATV?
1) It's not a plugin in the classic sense. It is a "generator" of configuration files for connection via wireguard protocol with a given "server" for Linux-based OS written on bash
2) The operation of wireguard protocol depends directly on the kernel of the system you are using and does not depend on the Enigma2 framework in any way. You can stop Enigma2 using init 4 and start the wireguard connection ... and, miraculously, it will work
3) Finally ... I found a way to run on OpenATV, OpenBH, etc. It's quite strange but... it works
Attached is a test version
1) Completely uninstall the previously installed version using opkg remove
2) Install the version attached to this post using opkg install, having previously overwritten the installation package to /tmp
3) After you install and see the message that the plugin was successfully installed -turn off your SAT-box into Standby mode using RC. This will stop any network activity
4) Start VPN
5) Wait 5-10 seconds and check your IP
You should see the output of the IP address belonging to the subnet of Cloudflare Inc
6) Turn on your SAT-box using RC
p.s. The wireguard protocol is blocked in some countries such as Egypt, Russia (with some major ISPs), Iran, China, etc., and it will not work there. Yes, these blockages can be bypassed, but then you need to use your own VPN server with the "server part" of wireguard, not Cloudflare's servers. It is not difficult and quite realisable
to plugin not working with ATV?
1) It's not a plugin in the classic sense. It is a "generator" of configuration files for connection via wireguard protocol with a given "server" for Linux-based OS written on bash
2) The operation of wireguard protocol depends directly on the kernel of the system you are using and does not depend on the Enigma2 framework in any way. You can stop Enigma2 using init 4 and start the wireguard connection ... and, miraculously, it will work
3) Finally ... I found a way to run on OpenATV, OpenBH, etc. It's quite strange but... it works
Attached is a test version
1) Completely uninstall the previously installed version using opkg remove
2) Install the version attached to this post using opkg install, having previously overwritten the installation package to /tmp
3) After you install and see the message that the plugin was successfully installed -turn off your SAT-box into Standby mode using RC. This will stop any network activity
4) Start VPN
5) Wait 5-10 seconds and check your IP
You should see the output of the IP address belonging to the subnet of Cloudflare Inc
6) Turn on your SAT-box using RC
p.s. The wireguard protocol is blocked in some countries such as Egypt, Russia (with some major ISPs), Iran, China, etc., and it will not work there. Yes, these blockages can be bypassed, but then you need to use your own VPN server with the "server part" of wireguard, not Cloudflare's servers. It is not difficult and quite realisable
Tested and working fine on OpenATV 7.5. Thanks so much
-
-
The script doesn't work
It's not a script. It is a command that "puts" a given script (witreguard.sh) into autorun in your Linux-based OS
Ubuntu Manpage: update-rc.d - install and remove System-V style init script links
If you have done everything correctly, you should see the @S99wireguard.sh symlink in the /etc/rc5.d/ folder.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!