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

    How to work OpenVPN with WAN IP 192.168.1.0/24

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 248 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.
    • J
      JaysonIQ
      last edited by

      Hi,

      Could you help me please how will I connect my machine to openvpn, my pfsense is using a 192.168.1.67 as WAN because there's a router before my pfsense.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @JaysonIQ
        last edited by

        @JaysonIQ said in How to work OpenVPN with WAN IP 192.168.1.0/24:

        using a 192.168.1.67 as WAN because there's a router before my pfsense.

        In the past, when you got a router from your ISP, you didn't need to know something from anything. Just plug in the power, ISP land line (fiber, phone or whatever), LAN plug and done.

        You've decide to leave that situation, and add a second router, pfSense so your ISP router isn't your primary router anymore : that one more reason to change - before hooking up - it's default LAN 192.168.1.1/24 to something else.

        When you start using more sophisticated options like OpenVPN, you have one more reason to not keep 192.168.1.1/24 on any LAN - no where.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • stephenw10S stephenw10 moved this topic from Off-Topic & Non-Support Discussion on
        • J
          JaysonIQ
          last edited by

          Could you elaborate what you're saying. Here's my case. I have an ISP router with external IP, and its giving a dynamic IP range 192.168.1.0/24. There are only 2 device that has been connected, Sonicwall (192.168.1.251) and Netgate (192.168.1.67). The SonicWall currently has an SSL VPN set up, and I used to connect to it remotely using the NetExtender client by entering the ISP's external IP.

          Now, I plan to replace the SonicWall with the Netgate device. I want to configure a VPN (specifically OpenVPN) on the Netgate, so I can connect remotely when I'm at a different location.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Then the ISP router must be configured to forward traffic to the Sonicwall. It might be forwarding all traffic (a DMZ style setup) or just forwarding the required ports for the SSLVPN.

            You need to setup similar forwards to pfSense.

            But, yes, a better setup would be to eliminate the ISP router entirely. That may not be possible though.

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