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

    [solved]Problem with connection to Lan via RoadWarrior

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.3k 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.
    • C
      Coverian
      last edited by

      Hi,

      I have just started with pfsense for testing and have some problems with an RoadWarrior setup.

      The connection to the VPN-Server works just fine but the connection to the Servers in the LocalNetwork is impossible. The problem seems to be that all Servers in the LAN have a default gateway which is not the pfsense.

      I have set a Gateway for the LAN interface which faces to the Intern-Gateway

      1. Should i just add a route from the default gateway to the pfsense?
      2. And what would the route look like when my LAN is 192.1.1.0/24, WAN 192.168.0.0/24, VPN 10.0.8.0/24
      3. Is the Gateway in the pfsense enough or will i have to add a route to the Intern-Gateway

      Many thanks in advance.

      ps.: sorry for the bad englisch, not my first language.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        a) For example, if your other router/default gateway LAN IP is 192.168.1.1 and the pfSense LAN IP is 192.168.1.42 then, on 192.168.1.1 add a route:
        10.0.8.0/24 -> 192.168.1.42
        192.168.1.1 might also send ICMP redirect messages back to your servers, telling them that packets to an address in 10.0.8.0 are best routed directly through 192.168.1.42 - and if the servers take notice of ICMP redirects then they will start routing more efficiently back to your VPN.

        If (a) has issues, then (b) add a static route to each server:
        10.0.8.0/24 -> 192.168.1.42

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • C
          Coverian
          last edited by

          solved my problem, many thanks  ;) .

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