---
title: 'Tutorial: Configure macOS Computer to be a Router'
canonical: https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/connectors/operating-systems/macos/tutorial--configure-macos-computer-to-be-a-router/
product: CloudConnexa Docs
description: This tutorial shows the steps needed to configure your macOS computer to carry out routing.
keywords: enable routing for macOS
---

# Tutorial: Configure macOS Computer to be a Router

1. Open the **Terminal** application and enter this command:

**`sysctl -w net.inet.ip.forwarding=1`**

## Related Tutorials

- [Tutorial: Configure Network Address Translation (NAT) on macOS](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/connectors/operating-systems/macos/tutorial--configure-network-address-translation--nat--on-macos.md)
- [Tutorial: Configure automatic login on macOS](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/connectors/operating-systems/macos/tutorial--configure-automatic-login-on-macos.md)
- [Tutorial: Install a Connector on macOS](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/connectors/operating-systems/macos/tutorial--install-a-connector-on-macos.md)

---

Prev: [Tutorial: Configure Network Address Translation (NAT) on macOS](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/connectors/operating-systems/macos/tutorial--configure-network-address-translation--nat--on-macos.md)
Next: [Tutorial: Configure automatic login on macOS](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/connectors/operating-systems/macos/tutorial--configure-automatic-login-on-macos.md)
Index: https://openvpn.net/cloud-docs/llms.txt
