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

    Do I need to adjust NAT

    Scheduled Pinned Locked Moved NAT
    5 Posts 2 Posters 648 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.
    • N
      npineiro
      last edited by npineiro

      So basically I have two interfaces on my pfsense, one acting as the WAN (just connected to my home network) and I have LAN interface (point to point connection with a cisco router)

      On the cisco router I have PAT configured so all addresses matching the network 172.16.36. 0 is translated on the interface going to the pfsense (192.168.254.0/30)

      What I want to accomplish essentially is to be able to monitor endpoints in the firewall log. Right now all the logs in Status>system log>firewall just show the traffic coming from 192.168.254.2

      Im a networking noob, so this might be a simple solution but how do I accomplish this? Do I have to also NAT the traffic coming from 192.168.254.0/30 subnet on the pfsense? From what I understand double NATing is a bad thing.

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

        @npineiro said in Do I need to adjust NAT:

        On the cisco router I have PAT configured so all addresses matching the network 172.16.36. 0 is translated on the interface going to the pfsense (192.168.254.0/30)

        Why?

        172.16.36. 0 is behind the Cisco?
        192.168.254.0/30 the pfSense LAN?

        Can you provide a network map to get things clear?

        N 1 Reply Last reply Reply Quote 0
        • N
          npineiro @viragomann
          last edited by

          @viragomann

          Screen Shot 2022-01-30 at 6.11.25 PM.png

          Let me know if I can provide more details

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

            @npineiro
            So you need a static route for 172.16.36. 0/24 on pfSense pointing to the Cisco router.

            First you have to add the Ciscos IP 192.168.254.2 as a gateway on LAN in System > Routing > Gateways.
            Then go to the Static Routes tab and add a route for 172.16.36.0/24 and select the Cisco at gateway.

            Also you need an outbound NAT rule on pfSense for 172.16.36.0/24:
            Firewall > NAT > Outbound
            Switch into the hybrid mode and save this.
            Then add a new rule:
            interface: WAN
            source: network 172.16.36.0/24
            destination: any
            translation: interface address

            Then you can remove the PAT rule on the Cisco, so that pfSense can see the origin source IP.

            N 1 Reply Last reply Reply Quote 0
            • N
              npineiro @viragomann
              last edited by

              @viragomann

              Thank you! This helped me

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