Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
The difference between lan and wan with static ip at the virtual server
« previous
next »
Print
Pages: [
1
]
Author
Topic: The difference between lan and wan with static ip at the virtual server (Read 891 times)
config314
Newbie
Posts: 2
Karma: 0
The difference between lan and wan with static ip at the virtual server
«
on:
January 17, 2023, 08:51:21 am »
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.
Logged
wbk
Newbie
Posts: 41
Karma: 1
Re: The difference between lan and wan with static ip at the virtual server
«
Reply #1 on:
February 19, 2023, 10:37:21 pm »
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?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
The difference between lan and wan with static ip at the virtual server