A network interface (en4), connected to the network which needs to be connected to the internet has a static IP address 192.168.3.1. I assume your Mac (=router) has a Wifi connection to the internet (en0, configured with upstream DHCP). Setting up NAT by appealing to the core of OSX is not that hard. Sure, there are the sharing options, but they're quite limited and bring their own DHCP server, with no control over it anymore. Configuring a Mac (Macbook Pro in my case) to act as a NAT router is hairy as well. That's why I wrote an own small DHCP server recently. Set up Internet Sharing on Mac OSX using Command Line Tools July 3rd, 2017.Įven if Mac-OSX has a Unix core, Apple put some layers on top of it, which makes it rather hard to freely hack around.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |