-
Notifications
You must be signed in to change notification settings - Fork 46
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
CloudFlare's WARP Client? #235
Comments
I'll take a look, it really depends how the client works. I'd never heard of it before though. |
Cool, this definitely seems doable btw, the only tricky part will be the killswitch as they set their own firewall rules too. |
Basic support is on the master branch now - see PR #237 Note you need to first install and run Warp once: $ sudo warp-cli register
$ sudo warp-svc # leave this running
$ sudo warp-cli connect And then you can kill $ vopono -v exec --no-killswitch --provider warp --protocol warp firefox-developer-edition Note it doesn't have killswitch support yet, but it should be possible with the information in https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/deployment/firewall/ Also note I can't test the Teams and premium features, so let me know if you're able to try those out. |
Great news, James, thank you so much! So, I tried
And got these results:
Seems like it doesn't understand Warp as a VPN provider? I tried |
Oops I didn't see the issue as it was reading some random server name from my vopono config file. I'll push a fix but for now you can just pass |
Indeed, it fixes it, thanks again. However, I'm running into quite a strange situation... So, the details: I have Warp installed, registered, and I have used it before. Now, when I start
I get this error in the log:
And You haven't faced any of this? |
Don't run So stop / disable the systemd service, kill the |
Yep, I thought so, too. But after stopping the service ( |
Aha, and if I run |
Hmm for me it persisted the state of But that is the issue in that log:
That disconnect was run at some point - maybe it persists the disconnect setting too to not automatically connect at all. We could make it scan the log and check, and run it if needed - a bit like OpenVPN does - it's a pain if it sets the setting globally though (if you use it outside of vopono). |
Thanks for the comment! I'm afraid I don't exactly follow, though, so I'll re-describe the situation as I face it:
I'm on Ubuntu 22.04.03 just in case. And you are launching your Warp / |
Weird, I just ran Can you try running the command inside the network namespace? $ ls /etc/netns
$ sudo ip netns exec {netns_name_here} warp-cli connect |
Soemthing's not good here :) So, I launch:
And then To compare, if I launch
Then Honestly don't know what to say :) |
Hmm the log seems fine - but it still didn't connect that time? |
It actually did! I dind't do But! As soon as the And after I close |
Hmm can you check the contents of Otherwise check for any firewalls set with: $ sudo iptables -L
$ sudo nft list tables (outside vopono) And make sure |
This is probably it. Before running Warp, my After I run
...and overwrites the said symlink with an actual file, setting the nameserver to the above values. If I manually edit this file while Warp is running inside So, the question probably is, why this doesn't happen with your system? :)
After I launch |
Hmm I hit the same issue now, maybe I just avoided it yesterday due to cached DNS lookups. I don't use systemd-resolved, but I still hit the issue of warp-svc forcibly overwriting It's a tricky issue, the only thing I can think of is using But it's a bit of a pain with the shelling out we have currently, since we're essentially already unsharing for the network namespace itself. |
It's not possible to use
vopono
with Cloudflare's WARP Client, I assume? And just in case, no plans to add the support for it? :)The text was updated successfully, but these errors were encountered: