Skip to content

Macos commands that might help fix networking problems (on the CI)

mvgijssel edited this page May 26, 2020 · 2 revisions
# Enable remote access to the macos CI machine
sudo systemsetup -setremotelogin on

# Enable ip forwarding
sudo sysctl -w net.inet.ip.forwarding=1
sudo sysctl -w net.inet6.ip6.forwarding=1

# Whitelist VirtualBox in Firewall to prevent "Allow incoming connections" pop-up
sudo spctl --add /Applications/VirtualBox.app

# Disable spctl
sudo spctl --master-disable
sudo spctl --add /Applications/VirtualBox.app

# Disable firewall
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0