This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to remove L2TP VPN setting

Hi,

I wanted to test out L2TP VPN and set it up. It was just a test and I now want to revert the setup. But XG only let's me disable the configuration, not remove it. Annoyingly, in the Control center Services the L2TPD shows up as an orange alert: "STOPPED".

I exported the XML and the following section was added, but there is no way to remove it. Or is there?

  <L2TPConfiguration transactionid="">
    <L2TPSettings>
      <L2TPGeneralSettings>Disable</L2TPGeneralSettings>
      <AssignIPFrom>
        <StartIP>172.16.X.XX</StartIP>
        <EndIP>172.16.X.XX</EndIP>
      </AssignIPFrom>
      <LeaseIPFromRadiusServer>Disable</LeaseIPFromRadiusServer>
      <PrimaryDNSServer>172.16.X.XX</PrimaryDNSServer>
      <SecondaryDNSServer/>
      <PrimaryWINSServer/>
      <SecondaryWINSServer/>
    </L2TPSettings>
  </L2TPConfiguration>



This thread was automatically locked due to age.
Parents Reply Children
  • Hi Emmanuel, thank you for the fast response.

    I just wanted to revert the changes I made to the VPN settings. At install time, there is no L2TP configuration, the fields are all empty. But whenever you configure it, you cannot undo that. You are stuck with the L2TP VPN in your settings. It is there to stay and the Control center will show a warning if you just disable it. That might be technically correct, but it is not what I want.

    When you export and compare the XML before and after the change, you will notice the part that I copied is added to the configuration. Before it was not there. The only way to get rid of your L2TP VPN setting is by restoring a backup, so that's what I did. Problem solved.

    But I think the L2TP settings form could use a Reset button.

    Thanks for your attention.