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

    Openvpn client no lan access.. no internet access

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 2.1k 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.
    • R Offline
      rocx9
      last edited by

      Hello, I have been trying to set up the openvpn server on pfsense. The client connects fine but it cannot ping or access LAN segment. IF internet traffic if forced to the tunnel Client doe not have Internet access or LAN access either..

      Lan IP is 192.168.5.0/24
      OpenVPN network is 172.16.10.0/24

      Can you help? Thank you

      attached are screenshots of servers config and
      Client config is as follows

      dev tun
      persist-tun
      persist-key
      cipher AES-256-CBC
      auth SHA256
      tls-client
      client
      resolv-retry infinite
      remote xxxxxxxxx tcp-client
      lport 0
      verify-x509-name "xxxxxxxxx" name
      auth-user-pass
      pkcs12 pfsense-TCP-443.p12
      tls-auth pfsense-TCP-443.key 1
      ns-cert-type server
      comp-lzo no
      ovpn1.PNG
      ovpn1.PNG_thumb
      ovpn2.PNG
      ovpn2.PNG_thumb
      rule01.PNG
      rule01.PNG_thumb
      rule02.PNG
      rule02.PNG_thumb

      1 Reply Last reply Reply Quote 0
      • R Offline
        rocx9
        last edited by

        Answering to my own post

        After 2 days of struggle….  I disabled "Allow communication between clients" and now openvpn client can see internal LAN. and can see internet traffic..

        Before client would connect to openvpn server but would not be able to go anywhere.. not even pinging the openvpn server interface
        prior to pfsense openvpn I used OpenVPN Access Server Virtual Appliance server and did not have these problems (same setup NAT..) and openvpn clients would see each other..

        Luckily.. i do not need the vpn clients to see each other...

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