0

I am trying to set up OPNSense on Proxmox. The setup is as follows:

DELL Server running proxmox on 10.10.30.10 PFSense on VM should be assigned: 10.10.30.11

The following interfaces I have created:

Interface config
...
auto eno1 #onboard nic for WAN
iface eno1 inet manual

auto eno2 #onboard nic for LAN
iface eno2 inet manual

auto enp2s0f0 # nic2 for 10g server connection on port 1
iface enp2s0f0 inet manual
 
auto enp2s0f1 # nic2 for 10g not used
iface enp2s0f1 inet manual

auto vmbr0
iface vmbr0 inet statis
  address 10.10.30.10/24
  bridge-ports enp2s0f0
  bridge-stp off
  bridge-fp 0

auto vmbr1
iface vmbr1 inet manual
  bridge-ports enp2s0f1
  bridge-stp off
  brdige-fp 0

auto vmbr2
iface vmbr2 inet static
  address 10.10.30.10/31
  gateway 10.10.20.1
  postup sysctl -w net.ipv4.ip_forward=1
  postup iptables -t nat -A PREROUTING -i vmbr2 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.30.11
  post-up iptables -t nat -A PREROUTING -i vmbr2 -p udp -j DNAT --to 10.10.30.11
  bridge-ports eno1
  bridge-stp off
  bridge-fd 0

auto vmbr3
iface vmbr3 inet manual
  bridge-ports eno2
  bridge-stp off
  bridge-fd 0
  post-up iptables -t nat -A POSTROUTING -a '10.10.30.11/31' -o vmbr2 -j MASQUERADE
  post-down iptables -t nat -D POSTROUTING -a '10.10.30.11/31' -o vmbr2 -j MASQUERADE

I assigned vmbr2 and vmbr3 to the VM (WAN and LAN) i then assigned the interfaces in the setup and assigned the IP 10.10.30.11 to the firewall

I cannot access the GUI when calling 10.10.30.11 though in the browser.

Are my configs wrong?

I already pinged the VM and it responded but nothing in the browser to call.

retronexus
  • 11
  • 3

0 Answers0