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

    GRE tunnel and Outbound NAT return path problems

    Scheduled Pinned Locked Moved NAT
    1 Posts 1 Posters 340 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.
    • S
      sinaowolabi
      last edited by sinaowolabi

      Hi!

      I have a pfsense box that want to connect to, from an external network, by being routed through a GRE Tunnel due to ISP configuration (pfsense WAN IP is 172.16.84.234, GRE interface IP 172.16.1.122, the ISP tunnel end 172.16.1.121) And I am trying to reach an IP on its LAN (LAN IP 192.168.88.3/24, destination IP I'm trying to connect to, is 192.168.88.6).
      Because I am connecting from outside of the GRE tunnel, pfsense sees my incoming address as 62.x.x.53.
      Trouble is, the LAN device 192.168.88.6 expects to be connected to from 10.11.0.55, and so I did an Outbound NAT rule on the LAN interface that converts my incoming source IP, 62.x.x.53 IP, to 10.11.0.55.
      Now naturally, 192.168.88.76 is replying to 10.11.0.55, which dies in the pfsense, because it has no where to send it to (I think).

      How do I change the 10.11.0.55 destination to 62.x.x.53, and route it back through the GRE tunnel?
      I would also like to be able to modify any new traffic from 192.168.88.6, going to 10.11.0.55, to 62.x.x.53.
      Ive tried port forwarding from 10.11.055 to 62.x.x.53, setting outbound nat on the gre interface (which converts the source address to any address of my choosing), but nothing seems to work.
      Please what am I doing wrong, and how can I fix it?

      Thanks in advance!

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