Cloud/Hetzner/AA

From Chorke Wiki
Revision as of 17:15, 12 February 2025 by Shahed (talk | contribs) (→‎Add Users)
Jump to navigation Jump to search

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