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

    Can't connect to Subnets from my Site-to-Site VPN

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 4 Posters 1.0k 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
      skyebrenzo
      last edited by

      Hi,

      My current Site-to-Site VPN is working fine using IPSEC.

      Site1 Subnet: 192.168.1.0/24
      Site2 Subnet: 10.0.1.0/24
      PFSENSE Box IP: 192.168.1.1

      Now, I've setup OpenVPN VPN (TUN not TAP) so DEV engineers who works from home can access my servers on Site2 via SSH.

      IPV4 Tunnel Network: 192.168.10.0/24
      IPV4 Local Network: My Site1's subnet

      Connecting to my OpenVPN server works fine and I can ping/connect to servers inside LAN including my PFSENSE's box's IP 192.168.1.1 however, I can't ping/ssh any server on my Site2.

      My Firewall Rules for WAN:

      Proto: IPV4 (UDP)
      Source: any
      Port: any
      Destination: WAN Addr
      Port: 1194
      Gateway: Any
      Queue: none.

      My Firewall Rules for OpenVPN

      Proto: IPV4  (any)
      Source: any
      Port: any
      Destination: any
      Port: any
      Gateway: Any
      Queue: none.

      What did I missed?

      Thanks!

      Skye

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

        Post your server1.conf and client1.conf.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          Do I get it right: The openVPN tunnel is to Site 1 and you want to reach through the IPsec tunnel Site 2?

          Why don't you establish the openVPN tunnel directly to Site 2? Just saying…

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            What are the firewall rules on site 2's openvpn interface?  Those determine what hosts at site2 are accessible via openvpn.

            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.