Cloudflare/WARP Connector: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
{|
{|
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
cat << EXE | sudo bash
systemctl daemon-reload
systemctl enable  warp-svc.service
systemctl start  warp-svc.service
systemctl status  warp-svc.service
EXE
</syntaxhighlight>


| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
cat << EXE | sudo bash
systemctl daemon-reload
systemctl disable warp-svc.service
systemctl stop    warp-svc.service
systemctl status  warp-svc.service
EXE
</syntaxhighlight>


| valign="top" |
| valign="top" |
Line 23: Line 39:
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
warp-cli tunnel host add    shahed.biz
sudo systemctl disable --now warp-svc
warp-cli tunnel host remove shahed.biz
sudo systemctl enable  --now warp-svc
warp-cli tunnel host list
systemctl status warp-svc
</syntaxhighlight>
 
| valign="top" |
<syntaxhighlight lang="bash">
sudo systemctl disable --now warp-svc
sudo rm -rf /var/lib/cloudflare-warp/
sudo systemctl enable  --now warp-svc
</syntaxhighlight>
</syntaxhighlight>


| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo ls -lah /var/lib/cloudflare-warp/
warp-cli connector new eyJhIjoiNW…
warp-cli connect
</syntaxhighlight>


|-
| colspan="3" |
----
|-
| valign="top" |
<syntaxhighlight lang="bash">
warp-cli registration delete
warp-cli registration show
warp-cli registration new
</syntaxhighlight>
</syntaxhighlight>


| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
warp-cli tunnel host remove chorke.org
warp-cli tunnel host add    chorke.org
warp-cli tunnel host list
</syntaxhighlight>


| valign="top" |
<syntaxhighlight lang="bash">
    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/
</syntaxhighlight>
</syntaxhighlight>


Line 83: Line 128:
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
warp-cli registration delete
    cat /var/lib/cloudflare-warp/settings.json|jq -r
warp-cli registration show
    cat /var/lib/cloudflare-warp/conf.json|jq -r
warp-cli registration new
ls -alh /var/lib/cloudflare-warp/
</syntaxhighlight>
</syntaxhighlight>


Line 101: Line 146:
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/smb/ Cloudflare » Zero Trust » SMB]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/smb/ Cloudflare » Zero Trust » SMB]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ Cloudflare » Zero Trust » SSH]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ Cloudflare » Zero Trust » SSH]
* [[Cloudflare/Argo Tunnel|Cloudflare » Argo Tunnel]]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/ Cloudflare » Tunnel]
* [[Cloudflare]]
* [https://www.cloudflare.com/learning/access-management/what-is-ssh/ Cloudflare » SSH]


|valign="top"|
|valign="top"|
Line 109: Line 154:
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/warp-connector/ Cloudflare » WARP Connector]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/warp-connector/ Cloudflare » WARP Connector]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/split-tunnels/ Cloudflare » Split Tunnels]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/split-tunnels/ Cloudflare » Split Tunnels]
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/ Cloudflare » Tunnel]
 
* [https://www.cloudflare.com/learning/access-management/what-is-ssh/ Cloudflare » SSH]
|valign="top"|
 
|-
|colspan="3"|
----
|-
|valign="top"|
* [https://chorke.cloudflareaccess.com Cloudflare » Access » Chorke]
* [[Cloudflare/Argo Tunnel|Cloudflare » Argo Tunnel]]
* [[Cloudflare]]
 
|valign="top"|


|valign="top"|
|valign="top"|
Line 148: Line 204:
* [https://www.calculator.net/ip-subnet-calculator.html?cclass=any&csubnet=32&cip=10.19.83.1&ctype=ipv4&x=Calculate CIDR » 10.19.83.1/32]
* [https://www.calculator.net/ip-subnet-calculator.html?cclass=any&csubnet=32&cip=10.19.83.1&ctype=ipv4&x=Calculate CIDR » 10.19.83.1/32]
* [https://www.calculator.net/ip-subnet-calculator.html?cclass=any&csubnet=24&cip=10.19.83.1&ctype=ipv4&x=Calculate CIDR » 10.19.83.1/24]
* [https://www.calculator.net/ip-subnet-calculator.html?cclass=any&csubnet=24&cip=10.19.83.1&ctype=ipv4&x=Calculate CIDR » 10.19.83.1/24]
* [[Linux User Creation]]


|}
|}

Latest revision as of 21:13, 14 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

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/

References