Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSense in Virtualbox, can't access webgui
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNSense in Virtualbox, can't access webgui (Read 7115 times)
Apathialol
Newbie
Posts: 4
Karma: 0
OPNSense in Virtualbox, can't access webgui
«
on:
November 02, 2018, 04:22:59 pm »
https://imgur.com/a/uvVM7vK
Did I do something wrong with this setup? I can't for the life of me access the gui, but I can ping it.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OPNSense in Virtualbox, can't access webgui
«
Reply #1 on:
November 02, 2018, 05:04:19 pm »
An IP address conflict (host and VM do have the same IPv4 address)
Logged
Apathialol
Newbie
Posts: 4
Karma: 0
Re: OPNSense in Virtualbox, can't access webgui
«
Reply #2 on:
November 02, 2018, 09:13:54 pm »
So if I change the host IP to 192.168.20.2 then it should work or do I need it on a different subnet?
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OPNSense in Virtualbox, can't access webgui
«
Reply #3 on:
November 02, 2018, 10:36:19 pm »
try .10 because as far as I know in some configurations .2 is used for the default gateway (VirtualBox Nat adapter).
Logged
Apathialol
Newbie
Posts: 4
Karma: 0
Re: OPNSense in Virtualbox, can't access webgui
«
Reply #4 on:
November 03, 2018, 02:00:54 am »
Do you know if there's anything else I have to do to get the IP's to pass through correctly? I followed the guide (
https://linoxide.com/firewall/install-opnsense-virtualbox/
) and I just can't get it to work. I've even changed it to the same subnet as my main network, using unused IP's
Here's all the settings:
https://imgur.com/a/uHq1Eug
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OPNSense in Virtualbox, can't access webgui
«
Reply #5 on:
November 03, 2018, 08:04:09 am »
that should work because mine is similar - the only thing is that you may have switched your adapters in the VM.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: OPNSense in Virtualbox, can't access webgui
«
Reply #6 on:
November 03, 2018, 11:47:03 am »
.222 for the server seems to overlap into the DHCP range.
I normally use 192.168.56.1/24 for the host and 192.16856.2/24 for the guest.
But the host-only is the LAN adapter (first) and the second one is plain NAT adapter which automatically gives the WAN an IP and internet access.
Cheers,
Franco
Logged
Apathialol
Newbie
Posts: 4
Karma: 0
Re: OPNSense in Virtualbox, can't access webgui
«
Reply #7 on:
November 05, 2018, 03:59:44 am »
Is there something I have to enable in Win10 to get the networks to see each other? The Windows firewall is disabled, I don't have any AV installed beyond Windows Defender. I can't for the life of me get my VM to even get a WAN IP. I've tried creating two host networks and bridging one with my ethernet connection. I've tried all of the VM Network settings and literally nothing works. At one point I did get a WAN IPv6 address but I have no idea where that even came from and I couldn't access it after I disabled the Opnsense firewall.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSense in Virtualbox, can't access webgui