View previous topic :: View next topic |
Author |
Message |
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Tue Mar 09, 2010 7:20 pm Post subject: upnpd don't work in linux |
|
|
miniupnpd-1.4.20100308
# cat /etc/miniupnpd/miniupnpd.conf |grep chain
# chain names for netfilter (not used for pf or ipf).
upnp_forward_chain=upnpd
upnp_nat_chain=upnpd
# iptables -nvL upnpd && iptables -t nat -nvL upnpd
Chain upnpd (0 references)
pkts bytes target prot opt in out source destination
Chain upnpd (0 references)
pkts bytes target prot opt in out source destination
start utorrent:
# tail -f /var/log/messages |grep upnp
Mar 9 22:18:41 Z1 miniupnpd[21562]: Failed to remove NAT-PMP mapping eport 55844, protocol TCP
Mar 9 22:18:41 Z1 miniupnpd[21562]: Failed to remove NAT-PMP mapping eport 55844, protocol UDP
# iptables -nvL upnpd && iptables -t nat -nvL upnpd
Chain upnpd (0 references)
pkts bytes target prot opt in out source destination
Chain upnpd (0 references)
pkts bytes target prot opt in out source destination
# uname -a
Linux Z1 2.6.29.6-server-3mnb #1 SMP Sat Oct 17 00:31:50 MSD 2009 x86_64 AMD Athlon(tm) X2 Dual Core Processor LS-5790 GNU/Linux
# iptables -V
iptables v1.4.3.2 |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Thu Mar 11, 2010 11:08 am Post subject: |
|
|
What is the problem ?
With which UPNP client did you test ? _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Thu Mar 11, 2010 7:00 pm Post subject: |
|
|
miniupnp wrote: | What is the problem ? |
no translation rule in chains where utorrent start
miniupnp wrote: | With which UPNP client did you test ? |
unpnp clients - utorrent (http://www.utorrent.com/)
active chekbox:
- redirect UPnP
- redirect NAT-PMP
my config:
Code: | ext_ifname=eth0.28
listening_ip=10.76.255.65/27
port=0
enable_natpmp=yes
enable_upnp=no
upnp_forward_chain=upnpd
upnp_nat_chain=upnpd
lease_file=/var/spool/upnp.leases
bitrate_up=1000000
bitrate_down=10000000
secure_mode=no
system_uptime=yes
notify_interval=60
clean_ruleset_interval=600
uuid=a7248a3b-a613-45f2-96fa-0567fa6f93b2
serial=12345678
model_number=1
allow 1024-65535 192.168.0.0/24 1024-65535
allow 1024-65535 192.168.1.0/24 1024-65535
allow 1024-65535 192.168.0.0/23 22
allow 12345 192.168.7.113/32 54321
deny 0-65535 0.0.0.0/0 0-65535
|
Last edited by zamir on Thu Mar 11, 2010 7:46 pm; edited 1 time in total |
|
Back to top |
|
|
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Fri Mar 12, 2010 10:03 am Post subject: |
|
|
secure_mode=no - disable 'allow' and 'deny' functional?
if not disable, i'am sorry
I should repeat the test with only one rule:
allow 0-65535 0.0.0.0/0 0-65535 |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Fri Mar 12, 2010 10:27 am Post subject: |
|
|
zamir wrote: | secure_mode=no - disable 'allow' and 'deny' functional?
if not disable, i'am sorry
I should repeat the test with only one rule:
allow 0-65535 0.0.0.0/0 0-65535 |
Secure mode just forbid clients to add a redirection to an adress other than thier.
To enable more messages, run miniupnpd in debug mode :
miniupnpd -d _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
zamir
Joined: 01 Mar 2010 Posts: 16
|
Posted: Fri Mar 12, 2010 8:27 pm Post subject: |
|
|
I was not right
please, close or delete topic |
|
Back to top |
|
|
|