$this->bbcode_second_pass_code('', '
[root@alarmpi miniupnpd]# /usr/bin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d
miniupnpd[32453]: system uptime is 6954 seconds
miniupnpd[32453]: Reloading rules from lease file
miniupnpd[32453]: Starting NAT-PMP UPnP-IGD with external interface ppp0
miniupnpd[32453]: socket(http): Address family not supported by protocol
miniupnpd[32453]: Failed to open socket for HTTP. EXITING
')
Here is my configuration file.
$this->bbcode_second_pass_code('', '
# WAN network interface
ext_ifname=ppp0
listening_ip=wlan0
# port for HTTP (descriptions and SOAP) traffic. set 0 for autoselect.
port=0
# enable NAT-PMP support (default is no)
enable_natpmp=yes
# enable UPNP support (default is yes)
enable_upnp=yes
# bitrates reported by daemon in bits per second
bitrate_up=1000000
bitrate_down=10000000
secure_mode=no
system_uptime=yes
notify_interval=60
clean_ruleset_interval=600
uuid=acd02b30-e784-4591-acb1-911f87562475
serial=12345678
model_number=1
allow 1024-65535 192.168.0.0/24 1024-65535
')
Network Informations
$this->bbcode_second_pass_code('', '
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether b8:27:eb:e9:11:21 txqueuelen 1000 (Ethernet)
RX packets 937193 bytes 601297533 (573.4 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 721819 bytes 290759236 (277.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 186 bytes 15432 (15.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 186 bytes 15432 (15.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492
inet 123.119.189.221 netmask 255.255.255.255 destination 123.119.184.1
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 936580 bytes 591942924 (564.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 721207 bytes 269099733 (256.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
ether 14:cf:92:17:29:2c txqueuelen 1000 (Ethernet)
RX packets 710371 bytes 280312956 (267.3 MiB)
RX errors 0 dropped 2961 overruns 0 frame 0
TX packets 723934 bytes 563729672 (537.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
')
Could anyone please figure out the reason? Thanks.