Cloudflare/WARP Connector: Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 75: | Line 75: | ||
| valign="top" | | | valign="top" | | ||
|} | |||
==WARP Client » Usage== | |||
{| | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
warp-cli disconnect | |||
warp-cli connect | |||
warp-cli status | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
telnet 10.19.83.68 5432 | |||
telnet 10.19.83.68 3306 | |||
telnet 10.19.83.68 22 | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
nmap 10.19.83.68 --reason -Pn -p22,3306,5432 | |||
nmap 10.19.83.68 --reason -Pn --top 20 | |||
tail -n100 -f /var/log/kern.log | |||
</syntaxhighlight> | |||
|} | |} | ||
Line 217: | Line 242: | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
cat /etc/sysctl.conf | |||
sudo sysctl -p | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 240: | Line 266: | ||
* [https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/ Cloudflare » Zero Trust » Devices » WARP] | * [https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/ Cloudflare » Zero Trust » Devices » WARP] | ||
* [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://play.google.com/store/apps/details?id=com.cloudflare.cloudflareoneagent&hl=en_US&gl=US Cloudflare » WARP » Android] | |||
* [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://apps.apple.com/us/app/cloudflare-one-agent/id6443476492 Cloudflare » WARP » iOS] | |||
|valign="top"| | |valign="top"| |
Latest revision as of 14:47, 27 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
|
WARP Client » Usage
warp-cli disconnect
warp-cli connect
warp-cli status
|
telnet 10.19.83.68 5432
telnet 10.19.83.68 3306
telnet 10.19.83.68 22
|
nmap 10.19.83.68 --reason -Pn -p22,3306,5432
nmap 10.19.83.68 --reason -Pn --top 20
tail -n100 -f /var/log/kern.log
|
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
|
curl https://www.cloudflare.com/cdn-cgi/trace/
# warp=plus
# gateway=off
|
Families mode off: |
| ||
cat /proc/sys/net/ipv4/ip_forward
sysctl net.ipv4.ip_forward
|
sudo sysctl -w net.ipv4.ip_forward=0
sudo sysctl -w net.ipv4.ip_forward=1
|
cat /etc/sysctl.conf
sudo sysctl -p
|
References
| ||
| ||