miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What causes port leases to expire?

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
NickH



Joined: 10 Feb 2018
Posts: 20

PostPosted: Wed Sep 09, 2020 10:57 am    Post subject: What causes port leases to expire? Reply with quote

I have a port lease which would have last been used on Aug 25 or earlier when I changed the host's IP address but it still shows and I assume is stopping the new IP address from making the same port forwarding rule. How or when does miniupnpd expire leases?

For the moment I've had to manually remove the lease from /var/lib/miniupnpd/upnp.leases
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1497

PostPosted: Sun Sep 20, 2020 1:33 pm    Post subject: Reply with quote

port Leases have a duration, that could be infinite, so it will never expire.

you should not manually remove leases, just use a UPnP IGD client to do that.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
NickH



Joined: 10 Feb 2018
Posts: 20

PostPosted: Sun Sep 20, 2020 5:17 pm    Post subject: Reply with quote

I am afraid I don't fully understand the process. What sort of client are you talking about? Does it run on the same machine as miniupnpd or elsewhere?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.