Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Tech Assistant with a ProxMox VM Install
« previous
next »
Print
Pages: [
1
]
Author
Topic: Tech Assistant with a ProxMox VM Install (Read 3919 times)
Mundan101
Jr. Member
Posts: 54
Karma: 3
Tech Assistant with a ProxMox VM Install
«
on:
August 10, 2018, 07:37:53 pm »
I currently have opnsense installed a VM with Proxmox....
This is more of a proxmox question but I figure I can ask.
I set a static IP address within the opnsense lan configuration for Proxmox however I am unable to get to the Proxmox host via my lan network. The Proxmox console does show the current IP address on console login.
I was advised that it needs to be reset at the Proxmox console level via command line but I am unfamiliar how to do.
Any guide on how to do this is appreciated.
Logged
Kimmax
Newbie
Posts: 3
Karma: 1
Re: Tech Assistant with a ProxMox VM Install
«
Reply #1 on:
August 14, 2018, 03:50:11 pm »
The Proxmox IP isn't to be set from OPNsense.
You probably want the Proxmox HV and OPNsense to have their own static IPs.
To do that you bridge your network interface on the HV (Probably done already), assign a static IP to that bridge and assign the same bridge to the OPNsense VM. Configure OPNsense with it's own IP and you should be able to reach OPNsense and still be able to access Proxmox.
You can still use OPNsense as the default gw from Proxmox, but keep in mind that the HV won't be able to get out of the network if the OPNsense VM fails to start. (Could be relevant if you need remote eg. remote access)
Logged
sigrme2449
Newbie
Posts: 10
Karma: 0
Re: Tech Assistant with a ProxMox VM Install
«
Reply #2 on:
August 18, 2018, 01:59:57 am »
I use proxmox in combo with Opnsense, it works well. Im assuming you're using the default setup on proxmox without any firewall rules on proxmox?
I'm only guessing at what happened (not enough detail like what the IP address was), but its possible OPNSENSE vm was installed/booted and probably is running DHCP services, and my guess is you didn't turn off your router/gateways DHCP server and therefore its reaching only 1 DHCP (proxmox).
Whats the IP address on proxmox? is it a private RFC like 192.168.X.X? often 192.168.1.X? Were you able to see the Wan IP address proxmox gave? was it also 192.168.X.X or some other private RFC?
Alltho this is a question more for proxmox, rather than OPNsense. If you remember the VMID on the proxmox host and you can't access the gui to proxmox or opnsense I recommend you go into the console of proxmox and type
Quote
qm shutdown <vmid>
<vmid> often being 100 and forwards, so if you cant remember the VMID run
Quote
qm list
which will list the running VM's try the shutdown. If for some reason the shutdown doesn't work (often broken on freebsd, so you'll probally have to issue this command) since underlying machine emulation proxmox is KVM then type
Quote
qm stop <vmid>
This should stop OPNsense and your DHCP on network should return where you should then be able to access the proxmox webgui.
I would strongly advice you use a VLAN for setting up OPNsense, so that way it doesn't conflict with your already existing DHCP/network topology
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Tech Assistant with a ProxMox VM Install