Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPnP not working #3697

Open
VisionLabGroup opened this issue Dec 6, 2024 · 7 comments
Open

UPnP not working #3697

VisionLabGroup opened this issue Dec 6, 2024 · 7 comments
Labels

Comments

@VisionLabGroup
Copy link

Hello,

With version 0.61 I can no longer forward ports from the NAS with UPnP for VPN connection.

With version 0.59 everything works perfectly.

Any advice?

  • OpenMPTCProuter version: v0.61-6.6 r0+27346-c7ba5574f5
  • OpenMPTCProuter VPS version: 0.1032 test
  • OpenMPTCProuter VPS provider: Serverplan
  • OpenMPTCProuter platform: x86_64
  • Country: Italy
@Ysurac
Copy link
Owner

Ysurac commented Dec 6, 2024

Can you give me the result of uci show upnpd via SSH from the router ?

@VisionLabGroup
Copy link
Author

VisionLabGroup commented Dec 9, 2024

@Ysurac

This is the result:

upnpd.config=upnpd
upnpd.config.enabled='1'
upnpd.config.download='1024'
upnpd.config.upload='512'
upnpd.config.internal_iface='lan'
upnpd.config.port='5000'
upnpd.config.upnp_lease_file='/var/run/miniupnpd.leases'
upnpd.config.igdv1='1'
upnpd.config.external_iface='omrvpn'
upnpd.config.external_ip='MY_SERVER_IP'
upnpd.config.uuid='7a4fb65f-9e30-4020-a07b-242870b4e486'
upnpd.@perm_rule[0]=perm_rule
upnpd.@perm_rule[0].action='allow'
upnpd.@perm_rule[0].ext_ports='1024-64999'
upnpd.@perm_rule[0].int_addr='0.0.0.0/0'
upnpd.@perm_rule[0].int_ports='1024-65535'
upnpd.@perm_rule[0].comment='Allow high ports'
upnpd.@perm_rule[1]=perm_rule
upnpd.@perm_rule[1].action='deny'
upnpd.@perm_rule[1].ext_ports='0-65535'
upnpd.@perm_rule[1].int_addr='0.0.0.0/0'
upnpd.@perm_rule[1].int_ports='0-65535'
upnpd.@perm_rule[1].comment='Default deny'

@VisionLabGroup
Copy link
Author

@Ysurac do you have any suggestions?

@Ysurac
Copy link
Owner

Ysurac commented Dec 13, 2024

Your configuration seems ok. I'm not using UPnP, so difficult to test on my side.
I made no changes on this part, if VPN is working it should work.

@VisionLabGroup
Copy link
Author

VisionLabGroup commented Dec 15, 2024

Ok, How do I check if VPN works properly?

@sieade245
Copy link

Hi. I'm certainly no expert in this however I noticed that in the rules you have listed, you currently are blocking all the ports with your Deny rule. This is the "out of the box" setting. On mine, I have removed this rule using the web interface and also turned off "secure mode". When I did this, my UPNP instantly started working and about 10 UPNP connections were displayed at the top of the page. This might not be the best way to fix it but it fixed mine

@VisionLabGroup
Copy link
Author

@sieade245 Thanks.
I tried as you said but still not going

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants