Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Network configuration

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 287 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TesoMayn
      last edited by TesoMayn

      Sorry if this is not where I should be asking this, or if it's already been asked (I couldn't find anything)

      I have a dedicated server from Hetzner with one NIC, two separate IPs (both have a MAC address), and a /28 subnet

      On my main IP I have Proxmox, and a VM for pfSense.

      I'm trying to get pfSense to handle all my VMs networking, including assigning a public IP from the /28 subnet using DHCP, is that possible?

      This is my network info (IPs changed to not expose them)

      192.168.5.159 (Proxmox)
      Gateway: 192.168.5.129
      Netmask: 255.255.255.192
      Broadcast: 192.168.5.191
      
      
      192.168.5.130 (pfSense)
      Gateway: 192.168.5.129
      Netmask: 255.255.255.192
      Broadcast: 192.168.5.191
      
      
      10.0.0.32/28
      Gateway: 192.168.5.159
      Netmask: 255.255.255.240
      Broadcast: 10.1.0.47
      

      Here is my /network/interfaces on Proxmox (not sure if needed)

      auto vmbr0
      iface vmbr0 inet static
              address 192.168.5.159/32
              gateway 192.168.5.129
              bridge-ports eno1
              bridge-stp off
              bridge-fd 0
              pointopoint 192.168.5.129
      
              up ip route add -net 10.0.0.32/28 netmask 255.255.255.240 gw 192.168.5.129 vmbr0
              up sysctl -w net.ipv4.ip_forward=1
              up sysctl -w net.ipv4.conf.eno1.send_redirects=0
      
              up ip route add 129.168.0.0/16 via 192.168.5.130 dev vmbr0
              up ip route add 127.16.0.0/12 via 192.168.5.130 dev vmbr0
              up ip route add 10.1.0.0/8 via 192.168.5.130 dev vmbr0
      
      auto vmbr1
      iface vmbr1 inet manual
              bridge-ports none
              bridge-stp off
              bridge-fd 0
      

      I appreciate any help

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.