Navigation

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

    vpn and network setup

    OpenVPN
    3
    4
    290
    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.
    • A
      adrianp918 last edited by

      need help with a proper configuration of network,

      so most of my network traffic will come from my home to my office vpn,

      my home network is a 192.168.1.1 network,

      the problem lies here within,

      the office network is also 192.18.1.1

      when I connect to vpn I have the the open vpn hand out IP address of 172.0.0.1

      now when I connect I can see open vpn connect successfully...bt I can not access anythign on the lan side of the office...

      im thinking its becuase of the 192.168.1.1 network being on the office and also my home... so when im trying to find a resource on the office lan I believe that the network is seeing the 192.168.1.1 traffic and automatically passing it to the local home network the not finding the resource in need but I know its there...

      should I change the office network to something different and have them all on different networks ?? example

      home 192.168.1.1
      office 172.0.0.1
      vpn traffic 10.0.0.1

      would that setup eliminate the issues I am having ?

      any help would be great

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @adrianp918 last edited by

        @adrianp918 said in vpn and network setup:

        should I change the office network to something different and have them all on different networks ??

        Yes. Or even your home.

        The router doesn't route a packet to the remote site if the destination IP lies within the local subnet.

        A 1 Reply Last reply Reply Quote 1
        • A
          adrianp918 @viragomann last edited by

          @viragomann ok so I tried to connect to my vpn from a hot spot
          and I was successful.

          and even then I still can not connect to any resources on the local network,

          under my config file for open vpn under ipv4 network I have this un the field
          192.168.1.1/24 for my network my local network is 192.168.1.1 for the router, is that what I should have in that field or should I have another network with subnet
          I think that setting is what is keeping me from any resources

          thank you once again

          J 1 Reply Last reply Reply Quote 0
          • J
            Jarhead @adrianp918 last edited by

            @adrianp918 192.168.1.1/24 is not a network.
            192.168.1.0/24 is.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post