ssh root@x.x.x.x -L 5900:localhost:5900
wget -P /tmp http://mirror.wdc1.us.leaseweb.net/opnsense/releases/20.1/OPNsense-20.1-OpenSSL-dvd-i386.iso.bz2
apt updateapt install bzip2
cd /tmpbzip2 -dk OPNsense-20.1-OpenSSL-dvd-i386.iso.bz2rm OPNsense-20.1-OpenSSL-dvd-i386.iso.bz2
wget -qO- /tmp http://www.danpros.com/content/files/vkvm.tar.gz | tar xvz -C /tmp/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 -m 1024M -localtime -enable-kvm -hda /dev/sda -hdb /dev/sdb -vnc 127.0.0.1:0 -cdrom /tmp/OPNsense-20.1-OpenSSL-dvd-i386.iso -boot d
route add -inet x.x.x.1/32 -link -iface vtnet0route add default x.x.x.1
pfctl -d
Hello - This process can be confusing, I wanted to post the steps I took:1. Reboot into rescue mode from the OVH console, you will get a temporary root password via email. You can also go into Account Summary, emails sent to me.2. SSH into the rescue VM with port forwarding. You can do this with putty or if you have a shell: Code: [Select]ssh root@x.x.x.x -L 5900:localhost:59003. Download the iso to the RAM /tmp, I used "DVD" "i386" Code: [Select]wget -P /tmp http://mirror.wdc1.us.leaseweb.net/opnsense/releases/20.1/OPNsense-20.1-OpenSSL-dvd-i386.iso.bz24. Install bz2Code: [Select]apt updateapt install bzip25. Extract and delete oldCode: [Select]cd /tmpbzip2 -dk OPNsense-20.1-OpenSSL-dvd-i386.iso.bz2rm OPNsense-20.1-OpenSSL-dvd-i386.iso.bz26. Download and start VNCCode: [Select]wget -qO- /tmp http://www.danpros.com/content/files/vkvm.tar.gz | tar xvz -C /tmp/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 -m 1024M -localtime -enable-kvm -hda /dev/sda -hdb /dev/sdb -vnc 127.0.0.1:0 -cdrom /tmp/OPNsense-20.1-OpenSSL-dvd-i386.iso -boot d7. Connect your VNC client to 127.0.0.1:5900, i use VNC connect by RealVNC8. I did guided install, some notes: - There are sections that take forever to complete, specifically cdpup but this install did finish after many long delays within 20 min - I did DHCP, manually set the WAN interface to vtnet0 - When selecting a drive to install to, the first drive is ~2500mb and the rescue partition. You should be installing to the second, larger drive. Mine was ~ 18000mb9. When the install finishes, it will reboot. Go into the OVH panel and reboot your VM, not into rescue mode.10. After reboot, open the KVM panel and login as root. Select option 8 for Shell access11. Add route (your default gateway is typically x.x.x.1 of your primary IP with OVH)Code: [Select]route add -inet x.x.x.1/32 -link -iface vtnet0route add default x.x.x.111. Disable firewall to access the web guiCode: [Select]pfctl -d12. Log into the GUI via the WAN IP (https://), I skip the wizard.. you can always go back to it.13. Go to Gateways, edit the ipv4 DHCP one... set the ip x.x.x.1 and set it as a "far gateway"14. Make sure you have a rule or interface to access the admin interface15. Reboot and testLet me know if you have any suggestions or questions.
cd /mnt/sdb1/root/
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 -m 1024M -localtime -enable-kvm -hda /dev/sda -hdb /dev/sdb -vnc 127.0.0.1:0 -cdrom /mnt/sdb1/root/OPNsense-20.1-OpenSSL-vga-amd64.img -boot d
fdisk -l ### Should return a line that is near the same size as the VPS disk drive. /dev/sda is typically the rescue disk/dev/sdb1 227328 41943006 41715679 19.9G Linux filesystem
apt update && apt install netcatnc -l -p 19000 | bzip2 -d | dd bs=16M of=/dev/sdb
cd ~/Downloadswget https://mirror.ams1.nl.leaseweb.net/opnsense/releases/23.7/OPNsense-23.7-vga-amd64.img.bz2
bzip2 -dk OPNsense-23.7-nano-amd64.img.bz2
dd bs=16M if=OPNsense-23.7-nano-amd64.img | bzip2 -c | nc xx.xx.xx.xx 19000 ## The public IP of your server
route add default x.x.x.1
gpart: geom 'da0': File exists
@tedly if it boots in live CD mode you probably missed the part about using the nano image for this procedure.
wget https://mirror.ams1.nl.leaseweb.net/opnsense/releases/23.7/OPNsense-23.7-vga-amd64.img.bz2