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

OPENVPN + IPSEC with IPSEC Gateway

Scheduled Pinned Locked Moved IPsec
2 Posts 2 Posters 1.6k 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
    mexa87
    last edited by Sep 10, 2012, 4:06 PM

    Hi,

    I have this scenario:

    Home                 
    Workstation 1:192.168.1.5
    Network: 192.168.1.0/24

    OPENVPN
    Network:192.168.2.0/24

    PFSense
    Network (LAN): 192.168.3.0/24
    Gateway (LAN): 192.168.3.254
    Gateway (WAN): public IP

    Router (Remote Network)
    Gateway (WAN): public IP

    Connections between PFSense and Router work. So IPSec configuration is correct.

    Connections between OPENVPN and PFsense Network (LAN) work. So OPENVPN configuration is correct.

    But, when i try to do "ping" to a remote workstation in the Remote Network (Router with IPsec configurated) dont work.

    What do i have to do? The problem is simple: my workstation in the OPENVPN doesnt see the remote network's public ip, and this is because the gateway is my home router, but how can i change this gateway to PFSense Gateway?

    Thanks!!!

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Sep 10, 2012, 5:40 PM

      You need to make sure you do three things:

      1. Push a route to the remote IPsec subnet to the OpenVPN clients.
      2. Add phase 2 entries to both ends of the IPsec tunnel that cover the OpenVPN clients
      3. Make sure your OpenVPN and IPsec rules allow traffic between those subnets

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received