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

    Openvpn cannot access to lan

    Scheduled Pinned Locked Moved OpenVPN
    24 Posts 5 Posters 6.2k 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.
    • A Offline
      aykiri1
      last edited by

      when i using client export (with execute setup) i must change ip adress

      this client openvpn conf

      dev tun
      persist-tun
      persist-key
      cipher AES-128-CBC
      auth SHA1
      tls-client
      client
      resolv-retry infinite
      remote 192.168.6.2 1194 udp
      lport 0
      verify-x509-name "xxxxx" name
      auth-user-pass
      pkcs12 secure-udp-1194-vpn1.p12
      tls-auth secure-udp-1194-vpn1-tls.key 1
      ns-cert-type server
      comp-lzo

      this red value i changing to wan ip adress.
      what is the problem ?

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        pfsense sets the interface ip in the client-config … in your case this is probably 192.168.....

        1 Reply Last reply Reply Quote 0
        • A Offline
          aykiri1
          last edited by

          i fixed it. i changed lan and lan2  ip's  1 to 2    2 to 1 then access now. i think problem is push route. not sure.
          thanks all.

          some pc's not pinging from vpnclient. and firewall disabled. must i make any ?

          1 Reply Last reply Reply Quote 0
          • H Offline
            heper
            last edited by

            if "some" pc's are not working and others in the same subnet are working, then the ones that don't work, probably have a wrong gateway set in their config or have a local firewall

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