Enable NAT to Share the Internet
The final step of creating a basic Internet-sharing router is to enable Network Address Translation (NAT). This process makes sharing an Internet connection possible.
Remember, each computer or device must have an IP address to communicate on a network or on the Internet. But you only get one IP address for your Internet connection. Thus NAT is needed to "trick" the Internet into thinking communication from any computer or device on your local network is coming from your router.
In other words, it makes your router the single contact point or relay between your network and the Internet.
Here's how to enable NAT on RouterOS, using WinBox:
- Click IP > Firewall and select the NAT tab.
- Click the Plus button to add a new firewall rule.
- For the Chain, select "srcnat".
- For the Src Address, input the IP range of your local network. For example, if the router IP is 192.168.1.1, you'd type 192.168.1.0/24.
- For the Out Interface, select the name for the interface that's connected to the Internet.
- Click the Action tab.
- For the Action, choose "Masquerade".
- Click OK to save the changes.