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

OpenVPN connectivity problems

Scheduled Pinned Locked Moved NAT
4 Posts 2 Posters 295 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
    asiawatcher
    last edited by Sep 23, 2023, 3:37 PM

    So i use OpenVPN client connection to connect to a provider which connects ok, however i lose all my internet access on my LAN when i connect there ?

    How can i use this VPN connection for incoming traffic only (TO BE REDIRECTED TO MY NAS) and not outgoing ? as that VPN is for a dedicated static ip for the servers I'm using on my NAS (mail/dns/web/ftp etc)

    I added a port forward NAS rule to redirect web and dns traffic to my nas for this, but i lose internet connectivity for some reason and also i dont want to use this vpn for outgoing (i.e. when i surf the internet) only for incoming

    what configuration do i do ?

    Thanks

    V 1 Reply Last reply Sep 23, 2023, 4:09 PM Reply Quote 0
    • V
      viragomann @asiawatcher
      last edited by Sep 23, 2023, 4:09 PM

      @asiawatcher
      In the OpenVPN client settings check "Don't pull routes". Your upstream traffic should go out to your default WAN then.

      Assign an interface to the OpenVPN client instance if you didn't already and enable it.
      Movie the rule for allowing the incoming traffic over to this VPN clients interface.
      There must no pass rule on the OpenVPN tab and no floating pass rule match the incoming traffic!

      A 1 Reply Last reply Sep 23, 2023, 4:27 PM Reply Quote 0
      • A
        asiawatcher @viragomann
        last edited by asiawatcher Sep 23, 2023, 4:31 PM Sep 23, 2023, 4:27 PM

        @viragomann Good works great however i have one problem that i had before my website times out when connecting to my static ip (which is port forwarded to my nas) from outside (and inside my lan except the http port which loads the gui of pfsense and not my website) here are some pics

        what do i do wrong ? basically when i try to connect to my static ip via web ssh etc it times out

        Thanks

        pf11.png pf22.png

        V 1 Reply Last reply Sep 24, 2023, 1:57 PM Reply Quote 0
        • V
          viragomann @asiawatcher
          last edited by Sep 24, 2023, 1:57 PM

          @asiawatcher
          Just obey my suggestions and it should work.

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