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

    Redirect internal IP address

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 728 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.
    • I Offline
      imabev
      last edited by

      I want to be able to redirect email traffic on my pfsense to another local network connected to a different interface on the pfsense. When a user, who is connected to a network off of the pfsense, makes a request to my exchange server (e.g. mail.dog.com) it resolves to the public IP (e.g. 4.4.4.4). I understand this part is working the way it should.

      I have the network that exchange is connected to accessible on a different interface on the pfsense. I want mail.dog.com to resolve to the private ip address of 192.168.1.1.

      I have been trying to figure out how to do this but cannot get it right… Outbound NAT, firewall aliases, host overrides in the dns resolver. Am I looking in the right place to do this?

      1 Reply Last reply Reply Quote 0
      • I Offline
        imabev
        last edited by

        Solved - I think.

        I disabled the DNS resolver; made sure I had DNS entries in System > General Setup > DNS Servers; Enabled DNS Forwarder and entered the host I want to redirect in the host override.

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

          this is simple port forward, or inbound nat..

          https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense

          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 25.07 | Lab VMs 2.8, 25.07

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