WAN CONFIGURATION WITH PUBLIC IP AND VLAN
How can we configure a new firewall with on the WAN Port. WAN CONFIGURATION WITH PUBLIC IP AND VLAN
Quote from: somanet on May 27, 2026, 03:00:26 PMWAN CONFIGURATION WITH PUBLIC IP AND VLAN
How can we configure a new OPNSENSE firewall on the WAN Port. WAN CONFIGURATION WITH PUBLIC IP AND VLAN
https://docs.opnsense.org/manual/other-interfaces.html#vlan
Hallo Patrick,
what is the most appropriate use of router mode or bridge mode ?
From the ISP side ?
Quote from: somanet on May 27, 2026, 03:19:56 PMwhat is the most appropriate use of router mode or bridge mode ?
From the ISP side ?
The Modem or ONT your ISP supplies should not have any kind of Routing enabled : It should only convert Glassfiber or COAX or xDSL to Ethernet.
If your ISP gives out Modem/Router/WiFi a.k.a. "All-in-One" devices then ask them to put it in
Bridge Mode so you don't have NAT behind NAT issues in the future!
We are new to OPNsesne firewalls.
Kindly share the steps to setting up the WAN port to allow users internet traffic though the LAN port.
Currently the WAN is on DHCP mode.
The ISP provided us with the public IP and VLAN number.
Which one is the ISP using?
- DHCP
- PPPoE
- static configuration
Is the modem/ONT set to bridge mode?
Which one is the ISP using?
- static configuration
public ip with a VLAN
Is the modem/ONT set to bridge mode?
Yes
Quote from: Patrick M. Hausen on May 27, 2026, 04:15:02 PMWhich one is the ISP using?
- static configuration
Public IP with A VLAN number
Is the modem/ONT set to bridge mode?
Yes its on bridge mode
Then you need the netmask and the gateway in addition to the IP.
Quote from: Patrick M. Hausen on May 27, 2026, 04:21:37 PMThen you need the netmask and the gateway in addition to the IP.
[/Yes the netmask and gateway we have . My only challenge are the steps to configure the IP and VLAN on the interface.
am new on opnsense ]
Quote from: somanet on May 27, 2026, 04:08:18 PMWe are new to OPNsesne firewalls.
Kindly share the steps to setting up the WAN port to allow users internet traffic though the LAN port.
All you need to know is @ https://docs.opnsense.org/ ;)
And if you can't do it yourself I am sure you can pay someone to do it for you in the country/city/region that you are from :)
1. Interfaces > Devices > VLAN - create VLAN
2. Interfaces > Assignments - assign "WAN" to the VLAN you created
3. Interfaces > WAN - enter IP address and mask/prefix-length
4. System > Gateways - add gateway
Done. All of this is well documented.