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

    NAT IP rewrite

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 521 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.
    • M
      marczi
      last edited by

      Dear All

      I have pfsense 2.4.2_1
      I'm trying to figure out how to rewrite the SRC IP of external clients hitting my internal FTP server to the LAN interface IP address of the firewall.
      for example
      FTP client have ip address 2.2.2.2, targeting to pfsense external IP 1.1.1.1
      pfsense have external IP 1.1.1.1 internal ip 192.168.1.1
      FTP server have ip address 192.168.1.2

      On FTP server I see request come from address 2.2.2.2
      I want to rewrite it to lan address 192.168.1.1.

      How can I do this in that version of pfsense?
      Thank You
      Martin

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • M
          marczi
          last edited by

          Thank You!

          I know this document, and I had correctly configured passive FTP ports.
          I changed my firewall for pfsense and my FTP server stops work.
          After reinstalling FileZilla now everithing works fine - the problem was with FTP config not with pfsense..

          Sorry and thanks again.

          Martin

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