Assigning and Configuring WAN
In the previous parts of this blog series, we covered the installation of XigmaNAS and LAN setup via the console. Now, we’ll walk you through the final step—assigning and configuring the WAN interface with a static IP address. By the end of this guide, you’ll have a fully functional and secure internet connection, ready to browse.
Assigning the WAN Interface
Navigate to the Network menu and select Interface Management. Here, you’ll see the interfaces currently available on your system. We need to assign the correct interface for your WAN connection.
- Identify the interface that will be used as your WAN port (often labeled as
em1,re1, or similar depending on your network card). - Click Assign next to the chosen interface.
- Name the interface “WAN” for clarity.
<IMAGE> (Placeholder for Assignment Page Image)
Configuring the WAN Interface with a Static IP
Once the WAN interface is assigned, it’s time to configure it with your static IP address.
- Go to Network > Interface Management and select the WAN interface you just assigned.
- Under IPv4 Configuration Type, select Static.
- Enter your static IP address, subnet mask, and gateway as provided by your ISP.
- Static IP: This is the fixed IP address provided by your ISP.
- Subnet Mask: Typically, this will be something like
255.255.255.0. - Gateway: This is the IP address provided by your ISP, used to route traffic.
- Optionally, you can specify DNS servers here or use the defaults provided by your ISP.
<IMAGE> (Placeholder for Configuration Page Image)
- Save the settings and apply the changes.
Testing the Connection
Once the configuration is complete, it’s important to verify that everything is working as expected.
- Ping Test: Navigate to Diagnostics > Ping. Use this tool to ping an external IP address (e.g.,
8.8.8.8for Google DNS) to ensure your WAN connection is live. - Browsing Test: Open a web browser on a connected device and try to access a website. If everything is set up correctly, you should be able to browse the internet immediately.
Security Note: Default OPNsense Firewall Rules
By default, OPNsense (which you might be using as your firewall/router software) blocks all incoming traffic on the WAN interface. This means your network is secure from unsolicited inbound connections right out of the box. However, you can always customize these rules later if you need to allow specific services or ports.
Conclusion
Congratulations! You’ve now successfully assigned and configured the WAN interface on XigmaNAS using a static IP. With this setup, your system should now be connected to the internet and secure from unwanted incoming traffic.
This marks the end of our blog series on OPNsense setup. With your WAN configured, you’re ready to start using Firewall to its full potential. Stay tuned for future posts where we’ll explore advanced configurations and services. Happy networking!
