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

    How can I NAT, DMZ, or Port forward routed IPs?

    General pfSense Questions
    1
    1
    1.0k
    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
      torontob
      last edited by

      Hello,

      I have one Alix2d13 (Three NIC ports) pfSense in production with the following network structure:

      WAN Port from ISP:
      Network: 39.39.39.152/29
      Gateway: 39.39.39.153
      Mask:    255.255.255.248
      Usable:  39.39.39.156 to 39.39.39.158
      WAN Set To: 39.39.39.156

      Routed IPs to 39.39.39.156:
      Network: 59.59.59.32/27 statically routed to 39.39.39.156

      So, on vr0 or LAN-1 I have setup the /27 subnet and my DHCP for that port gives out all the IPs possible from the /27 subnet to my endpoints.

      I also have vr2 or LAN-2 setup with 10.10.10.0/24 subnet which supplies the same endpoints for my private access.

      My Questions/comment:
      I am assuming that since all the IP sources are different I can have all the 65535 ports forward to a single endpoint and that I can do the same for every other IP in the /27 subnet simultaneously. Meaning I can do total of 65535 x 30 (30 is number of my usable IPs in /27 subnet).

      Is that true? or given the way I have fixed the network structure I would only be able to port forward port 80 for example to only one endpoint?

      The reason why I am asking this is because I am just checking the NAT section and when I want to create a NAT port forward it doesn't ask me for Source IP so I am wondering if I limited?

      Thanks

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