Cloud/Shahed/AF: Difference between revisions
Jump to navigation
Jump to search
| Line 159: | Line 159: | ||
|valign="top"| | |valign="top"| | ||
* [[Ubuntu Upgrade|Linux » Ubuntu Upgrade]] | |||
* [[Linux Service Creation|Linux » Service Creation]] | * [[Linux Service Creation|Linux » Service Creation]] | ||
* [[Linux User Creation|Linux » User Creation]] | * [[Linux User Creation|Linux » User Creation]] | ||
* [[Linux Mount Drive|Linux » Mount Drive]] | * [[Linux Mount Drive|Linux » Mount Drive]] | ||
* [[ | * [[Swap Space|Linux » Swap Space]] | ||
* [[EKSctl|CLI » AWS » EKS]] | * [[EKSctl|CLI » AWS » EKS]] | ||
* [[AWS CLI|CLI » AWS]] | * [[AWS CLI|CLI » AWS]] | ||
| Line 185: | Line 185: | ||
* [[Private Enterprise Number]] | * [[Private Enterprise Number]] | ||
* [[Chorke Academia Backup]] | * [[Chorke Academia Backup]] | ||
* [[Cloud Computing Cost]] | * [[Cloud Computing Cost|Cost » Cloud » Computing]] | ||
* [[ | * [[Cloud/Cost/Chorke|Cost » Cloud » Chorke]] | ||
* [[YouTube/Channel]] | |||
|- | |- | ||
Revision as of 01:50, 17 June 2025
SSH
ssh -qt -p4321 pi@shahed-af.local bash
cat <<'EXE' | sudo bash
free -th && echo && systemd-analyze && echo
df -h && echo && lsblk && echo
swapon --show
EXE
Cloudflare » VIRT
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=/sbin/ip link add warp0 type dummy
ExecStartPost=/sbin/ip addr add 10.20.40.6/32 dev warp0
ExecStartPost=/sbin/ip link set warp0 up
ExecStop=/sbin/ip link delete warp0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
INI
cat << EXE | sudo bash
systemctl daemon-reload
systemctl enable --now warp0.service
systemctl status warp0.service
EXE
ip a
Cloudflare » Argo » Tunnel
wget -cq https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-armhf.deb -P ${HOME}/Downloads
sudo dpkg -i ${HOME}/Downloads/cloudflared-linux-armhf.deb; sudo apt install -f
rm -rf ${HOME}/Downloads/cloudflared-linux-armhf.deb
cat <<'SYS' | sudo tee -a /etc/sysctl.conf >/dev/null
###################################################################
# Cloudflared Tunnel Private Network Config
# This config added by Chorke Academia, Inc
# ICMP Group ID Range 0 to 10,000 Users
net.ipv4.ping_group_range = 0 10000
# 208 KiB Default RX Buffer
net.core.rmem_default=212992
# 208 KiB Default TX Buffer
net.core.wmem_default=212992
# 8 MB Maximum RX Buffer
net.core.rmem_max=8388608
# 8 MB Maximum TX Buffer
net.core.wmem_max=8388608
SYS
sudo sysctl -p
References
|
| |||
|
| |||
|
| |||