How to Share Internet from a Mac via Wi-Fi: 3 Proven Methods

Your MacBook or iMac It can become a full-fledged Wi-Fi hotspot—a lifesaver when you need to connect your phone, tablet, or other computer to the internet and don't have a router handy. But not everyone knows that Internet sharing from a Mac It works differently than on Windows: there is no one-click "Mobile hotspot" button, but there is more flexibility in the settings.

This article contains current methods for macOS Sonoma And Ventura (they also work on older versions), detailed screenshots, and solutions typical errors when devices don't see the network or don't connectWe'll cover both standard methods via system preferences and alternatives for when your Mac's Wi-Fi module refuses to work properly.

1. The "Shared Access" method: the most reliable

This is the official method from Apple and works on all Macs with macOS Mojave and newer. Its advantage is stability and minimal risk of crashes. The disadvantage is that you'll have to dig around in the settings.

Open System Preferences → Sharing (or System Settings → General → Sharing V Sonoma). In the left menu, select "Common Internet" (Internet Sharing). Now it is important to set two parameters correctly:

  • 🔄 Share connection: Select your internet source (Ethernet if your Mac is connected via cable, or Wi-Fi if it receives internet over the air from another router).
  • 📡 For computers using: check the box next to it Wi-Fi.

After that, click on Wi-Fi settings (Wi-Fi Options) at the bottom of the window. Here you specify:

  • 🔐 Network Name (SSID): Come up with a unique name (for example, MacBook-Pro-Hotspot).
  • 🔒 Channel: select Auto or specify manually 6 (less congested in apartment buildings).
  • 🔑 Safety: be sure to select WPA2/WPA3 Personal and set a password of at least 8 characters.

Your Mac is connected to the internet (check with a browser)

The correct source is selected in the "Share connection" list.

There is a check mark only next to Wi-Fi (disable other protocols)

The network password contains letters and numbers

-->

Done? Now check the box to the left of "Common Internet" in the side menu and click LaunchIf everything is done correctly, the "Sharing" icon (two arrows in a circle) will appear in the menu bar.

2. Terminal method: for experienced users

When the graphical interface refuses to work (for example, after updating macOS), help will come TerminalThis method requires care, but gives you more control over your network settings.

Open Terminal (through Spotlight or Programs → Utilities) and execute the commands in order:

# Create a new distribution network

sudo networksetup -setairportnetwork en0 "MyMacHotspot" "mypassword123"

Enable Internet sharing

sudo sysctl -w net.inet.ip.forwarding=1

Configure NAT (Network Address Translation)

sudo natd -interface en0

sudo ipfw add divert natd ip from any to any via en0

sudo ipfw add pass all from any to any

Here:

  • en0 — the standard Wi-Fi interface on Mac (check yours using the command networksetup -listallhardwareports).
  • "MyMacHotspot" — the name of your network (replace with your own).
  • "mypassword123" — password (minimum 8 characters).
What should I do if the terminal says "Operation not permitted"?

This means you don't have administrator rights. Close Terminal, reopen it, but this time right-click → "Open as administrator" (or use the command sudo -s before entering the remaining commands).

To disable distribution, run:

sudo sysctl -w net.inet.ip.forwarding=0

sudo killall natd

⚠️ Note: After restarting your Mac, Terminal settings will be reset. To make the distribution permanent, you'll need to create an autorun script—but that's a topic for a separate article.

3. Using third-party programs: when nothing works

If system methods fail (for example, after upgrading to Sonoma), use specialized utilities. They offer additional features like traffic limiting or device blacklisting.

Program Pros Cons Price
WiFi Hotspot Creator Simple interface, works on older Macs No WPA3 support For free
Connectify Hotspot Advanced security settings, traffic monitoring Paid license for full functionality From $35/year
Baidu WiFi Hotspot Automatic channel management, 5 GHz support Chinese interface (English version available) For free

We recommend WiFi Hotspot Creator for most tasks:

  1. Download the program from Mac App Store or the official website.
  2. Launch and select the internet source (for example, Ethernet).
  3. Please enter the network name and password.
  4. Click Start Hotspot.
⚠️ Attention: Some antivirus programs (for example, Avast) may block third-party hotspots. Please add the program to the exceptions list while distributing.

Via Mac System Preferences

Via the Terminal

Third-party programs

I don't share Wi-Fi from my Mac-->

4. Troubleshooting: Why Devices Won't Connect

Even after proper configuration, devices may not see the network or connect without internet access. Here top 5 reasons and their solutions:

  • 🔌 Mac is not connected to the Internet: Check the source in the "Sharing" settings. If you're using Ethernet, make sure the cable is securely plugged in.
  • 🔍 Network not visible: On your Mac, change the Wi-Fi channel from Auto on 6 or 11 (less busy).
  • 🔒 Incorrect password: Re-enter the password on your device. On a Mac, you can reset the password in Sharing preferences.
  • 🔄 IP address conflict: In the terminal, run sudo ifconfig en0 down && sudo ifconfig en0 upto restart the Wi-Fi module.
  • 🛡️ Firewall blocks: Temporarily disable System Preferences → Security & Privacy → Firewall.

If the problem persists, try reset network settings:

  1. Open Terminal.
  2. Run the commands:
    sudo networksetup -setdhcp Wi-Fi
    

    sudo networksetup -renewdhcp Wi-Fi

  3. Restart your Mac.

5. Security: How to protect your access point

Sharing Wi-Fi from a Mac is convenient, but risky, if you don't set up protection. Here's what you absolutely must do:

  • 🔐 Complex password: Use a combination of letters (upper and lower case), numbers, and symbols. Example: MacHot$pot2026!.
  • 🔄 Turn off distribution: After use, turn off "Internet Sharing" in the settings to avoid unauthorized access.
  • 📡 Hidden network: In the Wi-Fi settings, check the box "Hide network" (Hide Network). Then its name will not be displayed in the list of available networks.

For advanced users:

  • 🛡️ MAC address filtering: In manual mode, allow connection only to specific devices (configured via Terminal).
  • ⏱️ Time limit: Set up a hotspot schedule (for example, only from 9:00 to 18:00).
⚠️ Attention: If you are distributing the Internet in a public place (cafe, coworking space), never use personal data in the network name (for example, Ivan_Ivanov_Hotspot). This may attract the attention of attackers.

6. Speed ​​Optimization: How to Speed ​​Up Distribution

Internet speeds when sharing from a Mac are usually slower than with a direct connection. However, they can be improved:

  • 📶 Wi-Fi channel: Use 5 GHz instead of 2.4 GHz (less interference, but shorter range). Sonoma This is configured in Wi-Fi Settings → Channel.
  • 🖥️ Close background programs: Zoom, Torrent clients And cloud synchronization (For example, Dropbox) can consume up to 70% of the bandwidth.
  • 🔌 Nutrition: Connect your Mac to a power outlet. When on battery, macOS automatically limits Wi-Fi power.

To check your current speed:

  1. On a connected device (e.g. phone) run the test Speedtest.net.
  2. Compare with the speed on the Mac itself (open Option+click on the Wi-Fi icon in the menu bar).
  3. If the difference is more than 50%, try changing the channel or internet source (from Wi-Fi to Ethernet).

7. Alternative Options: When Your Mac Can't Cope

If your Mac is older than 2015 or has a weak Wi-Fi module (for example, in MacBook Air 2013), internet sharing may be unstable. Consider alternatives:

  • 📱 Smartphone as a hotspot: Modern iPhone or Android- devices often distribute Wi-Fi more reliably than older Macs.
  • 🔗 USB adapter: Connect an external Wi-Fi module (for example, TP-Link TL-WN725N) and set up distribution through it.
  • 🌐 Router in repeater mode: Configure the old router as a repeater (if you have access to the main network).

For owners Mac mini or Mac Studio without built-in Wi-Fi:

  • Buy USB/Wi-Fi adapter with support 802.11ac (For example, ASUS USB-AC56).
  • Connect it and select it as the main interface for distribution in the "Sharing" settings.

Frequently asked questions

Is it possible to share Wi-Fi from a Mac if it is connected to the Internet via Wi-Fi?

Yes, but the speed will be slower due to the limitations of the Wi-Fi adapter (it can't effectively receive and transmit data simultaneously). It's better to connect your Mac to the internet via an Ethernet cable.

Why did Wi-Fi sharing stop working after updating macOS?

Updates often reset network settings. Try:

  1. Disable and re-enable "Internet Sharing" in the settings.
  2. Reset network settings via Terminal: sudo networksetup -resetnetworksettings.
  3. Create a new network location in System Preferences → Network.
How many devices can I connect to a hotspot on a Mac?

Theoretically - up to 10, but in practice:

  • On Mac with M1/M2 5-7 devices work stably.
  • On older Macs (before 2018) - no more than 3.
  • Each new device reduces the speed by 15-20%.
Is it possible to share Wi-Fi from a Mac in airplane mode?

No. Airplane mode disables all wireless modules, including Wi-Fi. To share the internet, airplane mode must be turned off (but Wi-Fi can be left on separately).

How to share internet from a Mac to a Windows PC?

The process is no different:

  1. Set up distribution on Mac (using any of the methods described).
  2. On Windows, find your Mac network in the Wi-Fi list and connect by entering the password.
  3. If you don't have internet access, check on your Mac that the correct source is selected in "Sharing" (for example, Ethernet, and not Wi-Fi).