View previous topic :: View next topic |
Author |
Message |
Nomadadon
Joined: 09 Nov 2020 Posts: 2 Location: Confusion
|
Posted: Mon Nov 09, 2020 1:56 am Post subject: Problems when I build latest |
|
|
I've noticed whenever I upgrade from github, build and install, it overwrites
/etc/miniupnpd/miniupnpd.conf. I've had to write a script that backs it up and then puts it back in place each time.
ext_ifname=ppp0
ext_ifname6=he-ipv6
listening_ip=em1
ipv6_disable=yes
enable_natpmp=no
enable_upnp=yes
I tried setting "listening_ip=172.20.0.0/16" and 172.20.0.1/16, miniupnp complains it's not valid and I have to use the interface.
Using the interface, minissdpd complains in the logs that some of my hosts on my 172.20.X.X network are not on a valid LAN.
Nov 8 18:55:57 wally minissdpd[2458694]: peer 172.20.10.27:59117 is not from a LAN
Nov 8 18:55:57 wally miniupnpd[2461458]: SSDP M-SEARCH from 172.20.10.27:59117 ST: upnp:rootdevice
Nov 8 18:55:57 wally miniupnpd[2461458]: Single search found
Nov 8 18:56:01 wally minissdpd[2458694]: peer 172.20.10.28:42403 is not from a LAN
Nov 8 18:56:01 wally miniupnpd[2461458]: SSDP M-SEARCH from 172.20.10.28:42403 ST: upnp:rootdevice
Nov 8 18:56:01 wally miniupnpd[2461458]: Single search found
Thoughts, help? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
|
Back to top |
|
|
Nomadadon
Joined: 09 Nov 2020 Posts: 2 Location: Confusion
|
Posted: Sun Nov 15, 2020 4:00 pm Post subject: |
|
|
Sorry I don't know make syntax, but:
if -f $ConfigFile:
NewConfig -> $ConfigFile.New
else:
New Config -> $ConfigFile
That way if there's a change, I can diff mine against the 'new' to see what I should change in mine?
External Interfaces:
he-ipv6
ppp0 ( Century Link DSL )
enp9s4 ( physical which CL plugs into, no IP )
Internal Interfaces:
em1 - main interface
em1.5 - VLAN interface I'm testing on
em1.99 - VLAN interface also for testing.
Routes:
╰> $ ip route
default dev ppp0 scope link
172.20.0.0/16 dev em1 proto kernel scope link src 172.20.0.1
172.21.5.0/24 dev em1.5 proto kernel scope link src 172.21.5.1
172.21.10.0/24 dev em1.10 proto kernel scope link src 172.21.10.1
172.21.99.0/24 dev em1.99 proto kernel scope link src 172.21.99.1
172.21.101.0/24 dev em1.101 proto kernel scope link src 172.21.101.1
207.225.112.5 dev ppp0 proto kernel scope link src 209.181.77.168
╰> $ route | grep default |awk -- '{ print $8 }'
ppp0
╭── nomad @ wally ── 11:00 ──{ 0 )──( ~/Git-Repos/UPNP )
╰> $ route | grep default
default 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Sun Nov 15, 2020 5:02 pm Post subject: |
|
|
The existing miniupnpd.conf is renamed to miniupnpd.conf.old
try listening_ip=em1/16 that's a trick to force network mask _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|