OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: Nydrix on December 23, 2019, 03:13:08 pm

Title: Need a little documentation push
Post by: Nydrix on December 23, 2019, 03:13:08 pm
Hi everyone,

I'm looking to setup my opnsense for the first time.
As i'm only used to work with simple routers.

Here's my setup:
Isp modem (has dhcp 192.168.1.1) that can't be switched off)
Netgear switch1 vlan 10
Netgear switch2 vlan 10
Opnsense deciso wan port

Opnsense deciso lan port (new dhcp 192.168.210.1)
Netgear switches vlan 1
Devices and access points
Wireless devices.

I've tried a few things, but it seems i'm breaking more than i fix ':)

I've disabled ipv6 (mij phone kept getting the modem dhcp gateway)
That solved a bit, but then I could not access a lot of websites.
I thought this was a dns issue, but using the google dns did not solve anything

So i need a lot of help, mostly into understanding the basic setup

At the moment i can't access the gui anymore.. but the gateway still works.

I'm trying to have a Lan zone with internet access and a protected wan zone.
In the near future, i want to setup a vpn from external Locations to the lan zone and a webservice in the wan zone that has public access.

Thanks in advance
Title: Re: Need a little documentation push
Post by: fabian on December 23, 2019, 05:17:21 pm
I think your ISP Modem is not on vlan 10.
Make sure, you configured it as an access port.

BTW: Nerver use VLAN 1. It is the default native VLAN and may lead to undesired access in case of misconfiguration. I recommend to use VLAN 1 as a black hole.
Title: Re: Need a little documentation push
Post by: Nydrix on December 23, 2019, 06:55:01 pm
Hi Fabian,

I've been trying to get back into my web interface for 2 hours.

I've disable the root user (because I'm stupid)
and my other admin user is not set up for ssh (my hours of search told me this has the be set up specifically)

My DHCP works fine, i get ip's to all devices in the lan, but I can't ping the gateway, let alone reach it.

So no root access, and no way to reach the web interface...

Title: Re: Need a little documentation push
Post by: Nydrix on December 23, 2019, 09:11:29 pm
OK! Alive and kicking again.

I've created a bootable flash drive with Rufus, booted the device from it
and reïnstalled the whole thing with basic settings.

how to create the flash drive: https://oitibs.com/opnsense-usb-install-guide-rufus/
how to flash the device: https://docs.opnsense.org/manual/install.html
the tool: https://rufus.ie/
Title: Re: Need a little documentation push
Post by: vikozo on February 10, 2020, 12:22:45 pm
which VLAN has the conection between the two Switch?
in Cisco it would be a trunk mode, configured on both switch