I don't know where miniupnpd.conf is.

Asked 2 years ago, Updated 2 years ago, 100 views

Put miniupnp in raspberry pi
upnpc-a 192.168.0.27 80 80 tcp
upnpc-a 192.168.0.27 800 800 800 tcp (800 is the appropriate number)
If you add as and check with upnpc-l,
0 TCP 80 - > 192.168.0.1: 80'libminiupnpc'"0
1 TCP 800->192.168.0.27:800 'libminiupnpc' '0
So for some reason, I can't add port 80 correctly.
Only number 80 is set to redirect to 192.168.0.1 for some reason.
Other port numbers can be redirected to 192.168.0.27
So I was going to rewrite the conf file, but there is no miniupnpd.conf...
I looked it up on find without /usr/local/etc/
I'm installing with apt-get
Does anyone know where the conf file of upnpc or its equivalent are located?

linux raspberry-pi network

2022-09-30 18:25

1 Answers

I think the port is already in use.If you are a raspbian, you can see what number 80 is used for in netstat-pln.
Also, I think the config is /usr/share/miniupnpd, but number 800 is fine, so I think there is a reason why upnpc works properly and 80 is not working, so I think it is better to use upnpc as much as possible.


2022-09-30 18:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.