Virtual pfSense on Proxmox with OVH failover IP
- Head over to the Control Panel
- Click the IP tab, just under the hostname
- use the Order IPs button on the left
- follow this and wait for the email that the IP is setup
- on your new IP, click the cog and click make virtual MAC
- make a note of the MAC, you will need that later
- in Proxmox
- make a new linux bridge, dont attach to a NIC
- make a new VM for pfSense, dont boot it yet
- on the hardward page of the vm
- edit the NIC, set the MAC to the virtual MAC (you just made it)
- add a new NIC, use the new Linux bridge
- now boot it
- once its up and running
- boot a new vm from an ubuntu ISO, live boot it, dont install!
- once in the ubuntu vm, open firefox and goto 192.168.1.1
- login to pfsense, admin and pfsense
- if you change the LAN IP, you ned to run:
sudo dhclient -r
sudo dhclient
- goto system -> routing
- add a new gateway
- add a name
- add the IP (this will be the 3 octects of proxmox IP with 254 on the end)
- show Advanced
- at the very bottom tick
Use non-local gateway
- save it
- goto interfaces -> WAN
- set the IP to the failover IP
/32
- set the
IPv4 Upstream gateway
to your new gateway - save it
- now you need to get your vm to add a route
sudo dhclient -r
sudo dhclient
- see if you can see it now?
Published:
by Matt Horwood