Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Changing WAN IP

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 4 Posters 1.4k Views 4 Watching
    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
      Ahsanse
      last edited by

      Hello,
      I am using Open VPN, i have configured WAN with static IP, i have user connected from remote side to access my local server. i have installed certificates on each user so they connect and get access through Open VPN GUI.
      My Question is now i want to change my Static IP on WAN, What should i do? just to change WAN IP in WAN interface or any other settings and what should i do at remote user end?
      Should i need to reinstall certificates on each user system? so they could get access as they are....

      Kindly suggest some solution.

      SammyWooS 1 Reply Last reply Reply Quote 0
      • JKnottJ Offline
        JKnott
        last edited by

        Normally your WAN IP is determined by your ISP and you have no control over it.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • P Offline
          PiBa
          last edited by

          Assuming corporate internet connection with multiple ip's in a little subnet it is possible to switch the wan ip when desired.

          Well would be nice to have a domain name you own where you could manage the ip centrally.. So vpn.yourdomain.tld would point to the public ip your currently using.. And if it changes in the future again, you would not need to change anything on the client-devices.

          For now for the moment perhaps add a second server to the client config .ovpn file, so the client will try to connect to both ip's. And then change over your wan-ip, or first bring up the new wan-ip before decommissioning the old.. It depends on how much clients youve got and how seamless the transition should be.. Then later cleanup the client config, and if possible use a dns name :).

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ Offline
            JKnott @PiBa
            last edited by

            @piba said in Changing WAN IP:

            Assuming corporate internet connection with multiple ip’s in a little subnet it is possible to switch the wan ip when desired.

            With corporate networks, they may have their own address block, the but router still has to connect to the ISP, using an address the ISP or the carrier provides.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            1 Reply Last reply Reply Quote 0
            • SammyWooS Offline
              SammyWoo @Ahsanse
              last edited by

              @ahsanse Yes, you will have to manually change the WAN IP on settings as hard-coded, reason why people don't hard code anything. In any environment you want so say:

              MyVPN = IP.

              Then you configure your clients to MyVPN and they never have to be touched again.

              Anytime you want to change this, u just make one change with your Domain Registrar: MyVPN = newIP.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy