Cloud/Hetzner/AA: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "==SSH Access== <syntaxhighlight lang="bash"> ssh -i ~/.ssh/cid.chorke.org_ed25519 [email protected] </syntaxhighlight> ==Add Users== <syntaxhighlight lang="bash"> ssh -i ~/.ssh/cid.chorke.org_ed25519 [email protected] adduser chorke adduser shahed passwd chorke passwd shahed passwd </syntaxhighlight> ==References== {| |valign="top"| * Cloudflare » WARP Connector * Cloudflare » Argo Tunnel * C...")
 
Line 13: Line 13:
passwd shahed
passwd shahed
passwd
passwd
</syntaxhighlight>
==Cloudflare » WARP==
<syntaxhighlight lang="ini">
cat << INI | sudo tee /etc/systemd/system/warp0.service >/dev/null
[Unit]
Description=Cloudflared WARP Routing Virtual Interface
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/ip link add warp0 type dummy
ExecStartPost=/usr/sbin/ip addr add 10.20.41.1/32 dev warp0
ExecStartPost=/usr/sbin/ip link set warp0 up
ExecStop=/usr/sbin/ip link delete warp0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
INI
</syntaxhighlight>
<syntaxhighlight lang="bash">
cat << EXE | sudo bash
systemctl enable  warp0.service
systemctl start  warp0.service
systemctl status  warp0.service
EXE
ip a
</syntaxhighlight>
</syntaxhighlight>



Revision as of 17:15, 12 February 2025

SSH Access

ssh -i ~/.ssh/cid.chorke.org_ed25519 [email protected]

Add Users

ssh -i ~/.ssh/cid.chorke.org_ed25519 [email protected]
adduser chorke
adduser shahed

passwd chorke
passwd shahed
passwd

Cloudflare » WARP

cat << INI | sudo tee /etc/systemd/system/warp0.service >/dev/null
[Unit]
Description=Cloudflared WARP Routing Virtual Interface
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/ip link add warp0 type dummy
ExecStartPost=/usr/sbin/ip addr add 10.20.41.1/32 dev warp0
ExecStartPost=/usr/sbin/ip link set warp0 up
ExecStop=/usr/sbin/ip link delete warp0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
INI
cat << EXE | sudo bash
systemctl enable  warp0.service
systemctl start   warp0.service
systemctl status  warp0.service
EXE

ip a

References