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

Openvpn server can't access local devices.

Scheduled Pinned Locked Moved OpenVPN
4 Posts 2 Posters 1.4k 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.
  • B
    bthoven
    last edited by Jul 25, 2019, 3:58 AM

    I'm now using openvpn server on Synology. I need to set port forwarding for port 433 so that I can connect to the overvpn server. Once connected, from public internet, I can access internal LAN resources and internet.

    I wish to replace it with OpenVPN server on my newly installed pfsense. I follow the procedure till I can export a ovpn file for my client PC. The instruction did not tell me to set any port forwarding for port 433; so I did not. I can connect to OpenVPN server without any extra port forwarding in pfsense. Once connected, I can access internet; but not home local LAN.
    What I need to set up more so that I can access both internet and my home local LAN?
    Thank you for any suggestion.

    1 Reply Last reply Reply Quote 0
    • V
      viragomann
      last edited by Jul 25, 2019, 12:22 PM

      Did you add a firewall rule on OpenVPN interface to permit access? If you used the wizard, it should be set automatically.

      Also ensure that the LAN devices you want to access do not block access from other subnets. By default desktop firewalls as well as that ones of NAS block such access.

      To investigate the routing you may try a ping for VPN client to the LAN address of pfSense.

      1 Reply Last reply Reply Quote 0
      • B
        bthoven
        last edited by bthoven Jul 26, 2019, 8:34 AM Jul 26, 2019, 8:33 AM

        Thanks. I use wizard to create it. I think I've solved the problem by checking the "redirect ipv4 gateway".

        I also installed pfblockerng and it works fine. I thought when I vpn to pfsense, all the ads will be automatically blocked too; but it is not. I don't know how to make it block the ads when I vpn from the public network.

        Any suggestion? Thanks

        1 Reply Last reply Reply Quote 0
        • B
          bthoven
          last edited by bthoven Jul 28, 2019, 1:56 PM Jul 28, 2019, 5:49 AM

          Thank you all for your contribution.

          I finally solved the "overvpn not using pfblockerng filter" by simply adding pfsense IP address (192.168.2.1) in to the OpenVPN server setting-->Advanced Clients Setting-->DNS server enabled-->DNS Server 1.

          No need to regenerate/export client ovpn file.

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