You are not logged in.
Hi, guys
My Mac has two Ethernet cards, and I want to turn it to a router. I searched and found the command to enable the routing / packet forwarding function for Mac. But which file stores the info of this setting?
sudo sysctl -w net.inet.ip.forwarding=1
This CLI just enable it, and I want to find the file which stores this setting.
Tom
Offline
Possibly /etc/sysctl.conf
Offline
Thanks, Kt. I learn a lots these days.
Tom
Offline