I am going to build a router with OPNSense (in Proxmox, on an HP thin client). I am stuck with setting up the networking (I have the Inel 4-port card). I don’t really know how to get started. Right now my device has one LAN cable going into it, and my consumer router is doing everything. I can set up a bridge for the other ports, but what IP address will I use for the LAN? I can’t use 192.268.0.1 because that will collide with my consumer router. Do I just take my consumer router offline while I am setting this up?I’d rather not because for sure I will get stuck and will want to look something up online. I guess I could use my phone but not the best when I am trying to see someone setting up something like this.

Silly question, I know, but I just can’t think of a clean way to get this going with minimal disruption. In a nutshell, what’s a good strategy for setting up and testing the OPNSense while it’s not actually doing any routing and then seemlessly drop it in and start working on it?

  • filister@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    You need to have a dedicated WAN interface, where you connect your WAN cable. The rest of the ports must be put into bridge mode.

    You need to create VLANs, one for the WAN, then your home network, eventually your IoT network, guest network, etc. and expose those VLANs to the respective bridge ports.

    You would also need an AP that supports VLANs, so anything that runs OpenWRT or other supported device. The routing would be done on the OPNSense’s side.

    On the Proxmox you need to expose the network ports to the VM running OPNSense.

    But there are more steps involved and if someone can share a step-by-step guide explaining the whole process would be better.