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

    Proxmox + PFSense conection port forward

    Scheduled Pinned Locked Moved NAT
    21 Posts 3 Posters 3.0k 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.
    • L
      Lixaotec
      last edited by Lixaotec

      its an optical cable modem. Huawei. Configs are default from isp (they burnt a customized firmware, that wont work with any other changes, really a s**t)

      However, I did the nat, and it works when coming from other device on that modem.

      192.168.100.1 - Isp modem DHCP
      192.168.100.10 - Proxmox (vmbr0)
      192.168.100.6 - PfSense (inside Proxmox - vmbr0) WAN
      192.168.100.12 - external device

      vmbr1 - inside PFSense LAN
      192.168.1.1 - PFsense dhcp
      192.168.1.100 - my vm with 4444 port open

      from .12 i manage to connect to the nat port forward at PFSense, lets say 192.168.100.6:4444

      from .10 i cant connect to 192.168.100.6:4444 (i can see packages arriving in PFSense with CLOSED:SYN_SENT)

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Well if devices on your network behind pfsense have firewall.. Pfsense can send the traffic to this IP all day long - doesn't mean that box will answer..

        Here is the thing - sniff on pfsense lan interface in pfsense. Do you see it send the traffic on that you port forward? If so then pfsense did what its suppose to do.. If you get not answer that is nothing pfsense can do about that.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • L
          Lixaotec
          last edited by

          PFSense is a brand new installation , clean of rules, only the nat rule for that port is configured

          Why it accpets from one device, and not from another (proxmox)?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            You could have an issue in promox where your using the same interface to try and talk to itself just with another IP..

            Sniff on pfsense - does it see the traffic to its wan IP, does it port forward it?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • L
              Lixaotec
              last edited by

              06b38055-11e2-4ba8-ae48-0161871f4410-image.png

              1 Reply Last reply Reply Quote 0
              • V
                viragomann @johnpoz
                last edited by

                @johnpoz said in Proxmox + PFSense conection port forward:

                If proxmox had an IP in this 192.168.1 network

                No, it hasn't as I understood. It has only an IP in 192.168.100.x

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  So pfsense sent the SYN to you dest box - if it doesn't answer what is pfsense suppose to do? Does that dest VM have pfsense as its gateway? Does it have a firewall? Is it even listening on that port? Did it even see the traffic pfsense sent it?

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Lixaotec @johnpoz
                    last edited by

                    Dear @johnpoz

                    When Promox communicate with 192.168.100.6 (pfsense) the packages seems to be arriving at PFSense, verified by states print above.

                    The dest VM 192.168.1.100 have pfsense as its gateway 192.168.1.1, and it is listening, I also confirm that because I can reach it from 192.168.100.12

                    vm dest does not have firewall enable, its a raw ubuntu server

                    1 Reply Last reply Reply Quote 0
                    • L
                      Lixaotec
                      last edited by

                      I reach it from the same nat rule .. it works from 192.168.100.12, but not from 192.168.100.10 (proxmox).

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        Pfsense doesn't care what the source IP is.. I suggest again - you sniff.

                        On pfsense lan sniff when you send data from the .10 address. Do you see pfsense send the packet - do you get a response?

                        If your saying it works from .12, but not .10 - pfsense has no care what the source is - it would treat the data exactly the same.. Other than something in proxmox.

                        So sniff and see exactly what is going on..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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