You are not logged in.

#1 2015-06-13 17:18:38

nachopro
Member
Registered: 2013-08-23
Posts: 91

Arch Wiki + Shorewall + miniupnpd = Fail

Hi Archers!

I'm following this article https://wiki.archlinux.org/index.php/Router#UPnP
My Shorewall is running nicely, and allow the upnp requests flies over the network but the miniupnpd fails, has a hardcoded chain names different that Shorewall is waiting for.

Exists some workaround?

Thanks!

For example:
Jun 13 13:29:25 kraftig miniupnpd[6934]: chain MINIUPNPD not found
Jun 13 13:29:25 kraftig miniupnpd[6934]: addnatrule() : chain MINIUPNPD not found
Jun 13 13:29:25 kraftig miniupnpd[6934]: Failed to add NAT-PMP 51413 tcp->192.168.1.124:51413 'NAT-PMP 51413 tcp'
Jun 13 13:36:52 kraftig miniupnpd[6934]: chain MINIUPNPD not found
Jun 13 13:46:52 kraftig miniupnpd[6934]: chain MINIUPNPD not found

Offline

#2 2015-06-13 19:55:37

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: Arch Wiki + Shorewall + miniupnpd = Fail

A little more information as to what you actually have done (i.e configuration) could be nice.
Looking at the miniupnpd config (https://github.com/miniupnp/miniupnp/bl … upnpd.conf), you have the following available:

# Chain names for netfilter (not used for pf or ipf).
# default is MINIUPNPD for both
#upnp_forward_chain=forwardUPnP
#upnp_nat_chain=UPnP

Have you tried modifying the config file, and uncommented: "#upnp_forward_chain"?

Offline

#3 2015-06-13 22:30:45

nachopro
Member
Registered: 2013-08-23
Posts: 91

Re: Arch Wiki + Shorewall + miniupnpd = Fail

Thanks a lot, Tutti.. Now is "working", but get a miniupnpd error:

Jun 13 19:29:10 kraftig miniupnpd[12326]: sendto(udp_notify=6, 192.168.1.1): Operation not permitted
Jun 13 19:29:10 kraftig miniupnpd[12326]: try_sendto(sock=6, len=473, dest=239.255.255.250:1900): sendto: Operation not permitted

Offline

#4 2015-06-13 23:30:23

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: Arch Wiki + Shorewall + miniupnpd = Fail

K, at least something happened. I haven't messed around with this before, so there's not much I can help with.

Could you provide the relevant configuration files?
and also say more about what steps you have done to configure the setup? (e.g. did you read the Shorewall guide?, etc.)

Offline

Board footer

Powered by FluxBB