Networking
DNS
- mess with dns - DNS playground.
Blocklist
Protocols
Tools
- CanYouSeeMe - Open Port Check Tool.
- mitmproxy - a free and open source interactive HTTPS proxy.
Speedtest
- Fast.com - How fast is your download speed? In seconds, FAST.com's simple Internet speed test will estimate your ISP speed.
- Internet Speed Test
Wireguard
bash
# place wireguard config at `/etc/wireguard/wg0.conf`
wg-quick up wg0
wg-quick down wg0SSH
Create SSH key
bash
ssh-keygen -t ed25519SSH Config
bash
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsaProxy setup
bash
Host my-bastion
HostName 1.2.3.4 (Bastion Public IP)
User ec2-user
IdentityFile ~/.ssh/my-key.pem
Host private-vm
HostName 10.0.1.50 (VM Private IP)
User ec2-user
IdentityFile ~/.ssh/my-key.pem
ProxyJump my-bastionDisable password auth
bash
sudo nano /etc/ssh/sshd_config
# change this line
PasswordAuthentication no
# restart
sudo /etc/init.d/ssh restartPort forwarding
bash
ssh -L 5000:targethost:5000 NAME@TUNNEL_HOSTAdd key to ssh-agent
bash
ssh-add --apple-use-keychain $KEY_PATHFix Bad owner or permissions on ~/.ssh/config
bash
chown $USER ~/.ssh/config
chmod 644 ~/.ssh/configInterface
bash
# disable network interface
sudo ifconfig wlan0 downCookbook
Intercepting HTTPS traffic on iOS
- Start proxy server
- Specify proxy for Wi-Fi SSID
- Obtain SSL cert via magic domain
- Install cert (Settings > General > VPN & Device Management)
- Trust cert (Settings > General > About > Certificate Trust Settings)