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

    Same subnet range on LAN and WAN

    Problems Installing or Upgrading pfSense Software
    5
    5
    7.3k
    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.
    • M
      maartenc
      last edited by

      Hi,

      I was wondering if it is possible to configure a pfsense using the same address range for the external and internal network.
      e.g:
      WAN interface: 62...158/27
      WAN gateway: 62...129/27
      LAN interface 62...157/27

      .158 and .129 are external the rest of the subnet is internal.
      I would also like to forward some ports on the WAN interface to a LAN-address.
      Can this be done with natting?

      Thanks for your help.

      KR,
      Maarten

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        No, no network will function that way, regardless of the product.

        What are you trying to achieve?

        1 Reply Last reply Reply Quote 0
        • C
          cybrsrfr
          last edited by

          Bridge the WAN to the LAN and then you can use pfSense as a transparent firewall.

          1 Reply Last reply Reply Quote 0
          • I
            Izinyoka
            last edited by

            It should be fine though.
            You should set the 'Suppress ARP messages' in system, advanced otherwise you will get a lot of arp messages.

            And yes, you can use NAT to forward inbound connections.

            Seen as though your WAN address is private, you would need to configure your modem/router (device with actual WAN IP) to forward the requests.

            But I must add.. this is a poor design.. :)

            1 Reply Last reply Reply Quote 0
            • N
              nocer
              last edited by

              Hi,

              bridging just works fine, but why don't you create /29 within /27 subnet? you can create fully routable 4 subnets in one /27 subnet.

              Happy routing  :D

              cheers,

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