Local Network & Public Hosting

148 commands

nmcli general statusnmcli general hostnamenmcli general hostname myservernmcli device show eth0nmcli dev wifi connect MyWiFi password 'secret'nmcli dev wifi hotspot ifname wlan0 ssid MyHotspot password 'secret'nmcli dev wifi rescannmcli radio wifi offnmcli radio wifi onnmcli networking offnmcli networking onnmcli connection show --activenmcli connection show 'MyWiFi'nmcli connection up 'Ethernet 1'nmcli connection down 'Ethernet 1'nmcli connection add type ethernet con-name 'home' ifname eth0 ipv4.method autonmcli connection add type wifi con-name 'office' ssid OfficeWiFi wifi-sec.key-mgmt wpa-psk wifi-sec.psk 'secret'nmcli connection modify 'home' ipv4.addresses 192.168.1.50/24nmcli connection modify 'home' ipv4.gateway 192.168.1.1nmcli connection modify 'home' ipv4.dns 1.1.1.1nmcli connection modify 'home' ipv4.method manualnmcli connection delete 'old-wifi'nmcli -t -f NAME,DEVICE con showip addr flush dev eth0ip link show eth0ip link set eth0 address 02:00:00:00:00:01ip neigh showip neigh add 192.168.1.5 lladdr aa:bb:cc:dd:ee:ff dev eth0ip neigh del 192.168.1.5 dev eth0ip neigh flush dev eth0ip maddr showip route show table allip rule add from 192.168.1.100 lookup 100ip netns delete testnsip netns exec testns baship link add veth0 type veth peer name veth1ip link set veth1 netns testnsarp -aarp -d 192.168.1.5arp -s 192.168.1.5 aa:bb:cc:dd:ee:ffarp-scan --localnetarp-scan --interface eth0 192.168.1.0/24nmap -sS -p 22,80,443 192.168.1.1nmap -sn 192.168.1.0/24 | awk '/for /{print $5}'nmap --script smb-os-discovery 192.168.1.1ping -c 3 -W 1 192.168.1.1ping -I eth0 8.8.8.8fping -a -g 192.168.1.0/24mtr -rw 8.8.8.8mtr -T -P 443 8.8.8.8tracepath 8.8.8.8nc -z -v -w 2 192.168.1.1 1-1000avahi-browse -aavahi-browse -rt _http._tcpavahi-resolve-host-name myprinter.localavahi-resolve-address 192.168.1.5avahi-publish -s 'My Printer' _ipp._tcp 631sudo systemctl enable --now avahi-daemonresolvectl flush-cachesresolvectl statisticsresolvectl mdns eth0 yesnetworkctl listnetworkctl status eth0networkctl lldp eth0iw dev wlan0 linkiw dev wlan0 scaniw dev wlan0 connect MyWiFiiw dev wlan0 disconnectrfkill listrfkill block wifirfkill unblock allethtool -S eth0ethtool -i eth0ethtool -P eth0ethtool -k eth0ethtool -p eth0 5ethtool -s eth0 wol gwakeonlan aa:bb:cc:dd:ee:ffwakeonlan -i 192.168.1.255 aa:bb:cc:dd:ee:ffetherwake -i eth0 aa:bb:cc:dd:ee:ffiperf3 -s -p 5202iperf3 -c 192.168.1.10 -t 10iperf3 -c 192.168.1.10 -u -b 100miperf3 -c 192.168.1.10 -Riperf3 -c 192.168.1.10 -P 4iperf3 -c 192.168.1.10 -p 5202smbclient -L //server -U usersmbclient //server/share -U usersmbclient //server/share -U user -c 'ls'smbclient //server/share -U user -c 'put report.pdf'smbclient //server/share -U user -c 'get report.pdf'smbget smb://server/share/report.pdf -U usersmbtree -U usercifscreds add -u alice nassudo mount -t cifs //server/share /mnt/share -o username=usersudo mount -t cifs //server/share /mnt/share -o credentials=/etc/samba/credentialssudo mount -t cifs //server/share /mnt/share -o username=user,vers=3.0sudo umount /mnt/sharesudo mount -t nfs server:/export /mnt/nfssudo mount -t nfs -o vers=4.2 server:/export /mnt/nfsshowmount -a serverrpcinfo -u server nfsnfsstat -msmbstatus -Scloudflared tunnel cleanup mytunnelcloudflared tunnel token mytunnelcloudflared tunnel run --token $TUNNEL_TOKENcloudflared tunnel --config /etc/cloudflared/config.yml run mytunnelcloudflared tunnel ingress validatecloudflared tunnel ingress rule https://app.example.comcloudflared tunnel route ip add 10.0.0.0/8 mytunnelcloudflared tunnel route ip showcloudflared tunnel vnet add myvnetcloudflared tail mytunnelcloudflared access ssh --hostname ssh.example.com --url localhost:22cloudflared access tcp --hostname tcp.example.com --url localhost:9210cloudflared access curl https://internal.example.comcloudflared access login https://app.example.comcloudflared access token -app=https://app.example.comsudo cloudflared service uninstallngrok tcp 22ngrok start --allngrok config add-authtoken 1rlHSX3HqrqmOWZdeJ6bIv8rfuo_4cmS1QswRGyxcQD8NOukFngrok diagnosengrok http 192.168.1.2:80sudo ngrok service install --config /etc/ngrok.ymltailscale uptailscale up --sshtailscale up --advertise-routes=192.168.1.0/24tailscale up --exit-node=100.101.102.103tailscale downtailscale statustailscale ip -4tailscale serve --http=80 localhost:3000tailscale serve --bg --https=443 localhost:3000tailscale funnel --https=443 localhost:3000tailscale file cp notes.txt laptop:tailscale file get .tailscale netchecktailscale ping nastailscale whois 100.101.102.103tailscale cert myserver.mytailnet.ts.nettailscale logouttailscale ssh user@nasssh -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -R 443:localhost:8443 user@tunnel.example.comautossh -M 0 -N -o ServerAliveInterval=60 -R 8080:localhost:3000 user@tunnel.example.comsshuttle -r user@vpn.example.com 10.0.0.0/8socat TCP-LISTEN:8080,reuseaddr,fork TCP:192.168.1.10:80
Search all 7,657 commands instead.