Skip to content

Instantly share code, notes, and snippets.

View DanPen's full-sized avatar

Daniel Pendergast DanPen

View GitHub Profile
@vtsatskin
vtsatskin / gist:d78d0f58f3cf440dc6c207b992f51e4f
Created June 13, 2017 21:12
Add loopback to Network pane in System Preferences on macOS
sudo networksetup -createnetworkservice Loopback lo0
sudo networksetup -setmanual Loopback 172.20.42.42 255.255.255.255