Cloudflare/WARP Connector: Difference between revisions
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | |||
warp-cli registration delete | |||
warp-cli connector new eyJhIjoiNW… | |||
warp-cli registration show | |||
warp-cli settings | |||
warp-cli connect | |||
warp-cli status | |||
</syntaxhighlight> | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| colspan="3" | | |||
<syntaxhighlight lang="bash"> | |||
echo "$(cat <<EOF | jq -s '.[0] * .[1]' /var/lib/cloudflare-warp/conf.json - | |||
{ | |||
"tunnel": "aa-chorke-com-warp" | |||
} | |||
EOF | |||
)" | sudo tee /var/lib/cloudflare-warp/conf.json > /dev/null | |||
cat /var/lib/cloudflare-warp/conf.json | jq -r .tunnel | |||
</syntaxhighlight> | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| colspan="3" | | |||
<syntaxhighlight lang="bash"> | |||
cat <<EOF | jq -r .| sudo tee /var/lib/cloudflare-warp/tunnel-info.json > /dev/null | |||
{ | |||
"tunnel": "aa-chorke-com-warp" | |||
} | |||
EOF | |||
cat /var/lib/cloudflare-warp/tunnel-info.json|jq -r .tunnel | |||
</syntaxhighlight> | |||
|- | |- | ||
Line 28: | Line 66: | ||
|- | |- | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | |||
sudo cat /var/lib/cloudflare-warp/reg.json |jq -r | |||
cat /var/lib/cloudflare-warp/settings.json|jq -r | |||
cat /var/lib/cloudflare-warp/conf.json |jq -r | |||
</syntaxhighlight> | |||
| valign="top" | | | valign="top" | | ||
Line 140: | Line 183: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
warp-cli settings | warp-cli settings | ||
warp-cli certs | |||
warp-cli vnet | warp-cli vnet | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 10:44, 22 December 2024
WARP Client
cat << EXE | sudo bash
systemctl daemon-reload
systemctl enable warp-svc.service
systemctl start warp-svc.service
systemctl status warp-svc.service
EXE
|
cat << EXE | sudo bash
systemctl daemon-reload
systemctl disable warp-svc.service
systemctl stop warp-svc.service
systemctl status warp-svc.service
EXE
|
warp-cli registration delete
warp-cli connector new eyJhIjoiNW…
warp-cli registration show
warp-cli settings
warp-cli connect
warp-cli status
|
| ||
echo "$(cat <<EOF | jq -s '.[0] * .[1]' /var/lib/cloudflare-warp/conf.json -
{
"tunnel": "aa-chorke-com-warp"
}
EOF
)" | sudo tee /var/lib/cloudflare-warp/conf.json > /dev/null
cat /var/lib/cloudflare-warp/conf.json | jq -r .tunnel
| ||
| ||
cat <<EOF | jq -r .| sudo tee /var/lib/cloudflare-warp/tunnel-info.json > /dev/null
{
"tunnel": "aa-chorke-com-warp"
}
EOF
cat /var/lib/cloudflare-warp/tunnel-info.json|jq -r .tunnel
| ||
| ||
sudo cat /var/lib/cloudflare-warp/reg.json |jq -r
cat /var/lib/cloudflare-warp/settings.json|jq -r
cat /var/lib/cloudflare-warp/conf.json |jq -r
|
Playground
sudo systemctl disable --now warp-svc
sudo systemctl enable --now warp-svc
systemctl status warp-svc
|
sudo systemctl disable --now warp-svc
sudo rm -rf /var/lib/cloudflare-warp/
sudo systemctl enable --now warp-svc
|
sudo ls -lah /var/lib/cloudflare-warp/
warp-cli connector new eyJhIjoiNW…
warp-cli connect
|
| ||
warp-cli registration delete
warp-cli registration show
warp-cli registration new
|
warp-cli tunnel host remove chorke.org
warp-cli tunnel host add chorke.org
warp-cli tunnel host list
|
cat /var/lib/cloudflare-warp/cfwarp_snapshots_collection.txt
sudo cat /var/lib/cloudflare-warp/reg.json | jq -r
ls -alh /var/lib/cloudflare-warp/crash_reports/
|
| ||
cat /usr/local/etc/cloudflared/config.yml
ls -lah ~/.cloudflare-warp
ls -lah ~/cloudflare-warp
|
sudo cloudflared service uninstall
systemctl status cloudflared
journalctl -xeu cloudflared
|
tail -n100 -f /var/log/cloudflared.log
sudo systemctl daemon-reload
ps aux|grep cloudflared
|
| ||
ls -alh /etc/systemd/system|grep cloudflared
ls -alh /etc/systemd/system|grep minikube
ls -alh /etc/systemd/system|grep minio
|
ls -lah /usr/local/etc/cloudflared/
ls -lah /etc/cloudflared/
ls -lah ~/.cloudflared/
|
cat /var/lib/cloudflare-warp/settings.json|jq -r
cat /var/lib/cloudflare-warp/conf.json|jq -r
ls -alh /var/lib/cloudflare-warp/
|
| ||
warp-cli settings
warp-cli certs
warp-cli vnet
|
References
| ||
| ||