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

    Outgoing nat on OpenVPN interface

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 442 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.
    • L
      Lillefjer
      last edited by

      Hey.

      Iam trying to NAT on outgoing packages on a OpenVPN interface. The Openvpn is a client connect to a server open vpn.

      My client should be able to reach the network 195.80.240.0/20 but not as 172.16.200.2 but as the firewalls LAN ip address 192.168.110.1.

      The OpenVPN Peer-to-Peer connection is added as a interface so that iam able to select it on the Outgoing NAT tab. But it doesnt work. pfSense A is the server and pfSense B is the client in the peer-to-peer connection.

      cd2a3648-e8d5-4275-9b60-c5c5f8aefd8b-image.png

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

        @lillefjer

        Is there a route at A for 192.168.110.0/24 so that your LAN device can communicate with the remotes LAN?

        Show you outbound NAT rules.

        1 Reply Last reply Reply Quote 0
        • L
          Lillefjer
          last edited by

          Yes, the Openvpn makes a routes at A for 192.168.110.0/24.
          But i think the problem is at B, because i cant see any trafik leave the OpenVPN interface connected to A, when i ping a host at 195.80.240.0/20

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