The difference between lan and wan with static ip at the virtual server

Started by config314, January 17, 2023, 08:51:21 AM

Previous topic - Next topic
Good afternoon, I'm a little confused and do not understand why this is happening.
I have proxmox+opnsense

I perform a clean installation, having previously made 2 virtual cards, for the Internet and a local network.
Wan-vtnet0
lan-vtnet1

During installation, I set wan (router) = wan and lan (router) = lan, everything is installed successfully, I try to do 'set interface ip addess', configure wan to register my static ip, successfully ping from the console passes the Internet, but the GUI does not work.

You have to change wan (router) = lan and lan (router) = wan, after this setting, ping and gui start working.

But after all, wan should be an external interface, not a local one, and vice versa, but in order for the GUI to work, you have to change everything.

Please help me figure out why this is so, maybe I'm doing something wrong.

Hi Config,

I have my OPNsense running on 'bare metal', and think of replacing it by a virtual server on somewhat more powerful hardware.

My VM is also running on Proxmox. I had to realize that the VM is a router, and that the two ports of the hardware are in different subnets. I had to connect my laptop to a switch on the 'internal' port before I could reach the web interface.

How is your network set up? Could it be the same problem?