Internet Sharing Config
Internet sharing is easy with the Sharing tab in system preferences. Select sharing the WiFi (or select how you’re connected to the internet) with the RNDIS/Ethernet Gadget and then executed the following commands.
Commands
Enter these commands at the Terminal prompt.
- defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 172.16.64.10
- defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberEnd 172.16.64.200
- defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkMask 255.255.255.0
Network Device Configuration
Video
The original Hak5 thread I started may have more information if you run into any issues.