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

Can't reach machines with different gateway.

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 1.9k 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.
  • O
    Ozzik
    last edited by Nov 28, 2009, 4:52 PM Nov 28, 2009, 4:50 PM

    Hi,
    Up until now I used PPTP to connect to the office and it worked great. Last week I set up the OpenVPN and faced one problem:
    I have a single LAN at the office, which is 192.168.10.0/24
    Most of the workstations use the 192.168.10.2 gateway, which is pfSense(with the OpenVPN server).
    But most of the servers use the other gateway (a more stable line, that goes through an SBox firewall) and it's 192.168.10.1.
    So I discovered that there's no problem accessing the workstations when connected with OpenVPN, but I can't reach the servers.
    I realize it's a routing problem, but since it's the same subnet - how would go about it?

    Thanks.

    1 Reply Last reply Reply Quote 0
    • G
      GruensFroeschli
      last edited by Nov 28, 2009, 6:35 PM

      Two options:
      1: Create a static route on the default gateway of your server
      2: NAT from the OpenVPN subnet to the servers subnet.

      1 is IMO the easier and more proper way.

      We do what we must, because we can.

      Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

      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