You are here

Persisting non-default tunnel server address range

2 posts / 0 new
Last post
KD7DK
KD7DK's picture
Persisting non-default tunnel server address range
We are running a tunnel server on v3.24.4.0.  We started out serving on a smaller node and migrated to a larger device to improve capacity.
We copied over the tunnel client configurations and that works fine but when we use the tunnel server configuration page, we need to constantly reset the starting address of the tunnel server address range.  Every time we revisit the page, it auto calculates the starting address and its not the starting address we need to use.  Each time we visit the page, we need to reset the values and save them so that they match the running configuration in use by our clients.
If we happen to push save without doing this, we break all the connections.  Saving the correct starting address is not persisted.

I want to disable the auto-calculation of this starting address.  Once you save a different starting address, it should be persisted.  I am happy to work on the relevant code if you point me at the appropriate part of the codebase.

-Doug-, KD7DK
Seattle ACS
KD7DK
KD7DK's picture
Persisting non-default tunnel server address range - RESOLVED
I did some code research and found that my vtun config file (/etc/config.mesh/vtun) was missing this stanza:
 
config network
        option dns 'tunnel-server.site.hamwan.net'
        option start '172.31.226.236'

Once I added this, things behaved as expected.

-Doug-, KD7DK

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer