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

    NAT for IpSec VPN

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 466 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.
    • U
      UnknownNR1
      last edited by

      Hi,
      I'm trying to nat my OPT1 Lan to a IPsec Tunnel. Also maybe the OVPN Network. But it isn't working. The tunnel in working perfectly both networks are reachable from both sites. I Can't enter static routes to the Fritz.box for the othler netwoks that thing doesn't allow this. So the Idea with the NAT Rules. Any Suggestions?

      PFsense is the newest Version. 2.4.3-RELEASE-p1 (amd64)

      0_1531522407282_4b0fc396-7970-4d09-9d52-12f17b3f76fd-image.png

      +------------------------------------------+
      |                                          |                      +--------------------------------+
      |                  Site A  PfSense         |     IpSec VPN        |         Site B Fritz.Box       |
      |             +--->LAN: 192.168.221.1/24   | <------------------> |         192.168.222.0/24       |
      |             |                            |                      |                                |
      |             |NAT                         |                      |                                |
      |             +                            |                      |                                |
      |OPT1: 192.168.144.1/24                    |                      +--------------------------------+
      |OpenVPN: 192.168.123.0/24                 |
      |                                          |
      |                                          |
      +------------------------------------------+
      
      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by Derelict

        I Can't enter static routes to the Fritz.box for the othler netwoks that thing doesn't allow this.

        Will it do multiple "Phase 2" networks or is that what you are saying it does not allow?

        The other side will have to be able to do something so the pfSense side will know what network they are trying to make a connection to.

        You cannot do IPsec NAT using Outbound NAT. The NAT goes in the IPsec Phase 2 definition.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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