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

Openvpn tunnels settings accessing local network

Scheduled Pinned Locked Moved OpenVPN
3 Posts 2 Posters 2.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
    sandman06
    last edited by May 5, 2013, 8:05 PM

    Hi Guys,

    I have recently switched from pptp to openvpn and everything works fine apart from one thing
    on the tunnel settings , you are given a choice to allow access to your local network. is it possible to put more than 1 network in this field? I dont want to be restricted to just my 192.168.1.0/24 LAN, i also want to access other subnets such as 192.168.2.0/24(dmz) and 192.168.3.0/24(vmware mngmnt)

    can someone help.

    thanks

    1 Reply Last reply Reply Quote 0
    • P
      phil.davis
      last edited by May 6, 2013, 12:43 AM

      On 2.0.n put your ordinary LAN in the Local Network field and (push route) statements in the advanced box, separated by ";"

      push "route 192.168.2.0 255.255.255.0";push "route 192.168.3.0 255.255.255.0"
      

      On 2.1 you can put a comma-separated list of networks in the Local Network field - no need to use the advanced box.
      Make sure the firewall rules on OpenVPN allow the traffic to/from all the networks you want to reach.

      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
      • S
        sandman06
        last edited by May 6, 2013, 10:17 AM

        thank you very much

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