Skip to main content

Thread: UPNP for ubuntu server 10.04


i using ubuntu router , got problems port forwarding...
wanted use upnp linux-igd ubuntu repository didnt worked.
had install:
http://http.us.debian.org/debian/pool/main/libu/libupnp4/libupnp4_1.8.0~svn20100507-1_amd64.deb
, then
http://ftp.us.debian.org/debian/pool...30-3_amd64.deb

in order make work.
if want know more can try read bit in:
http://www.gentoo-wiki.info/howto_se..._with_iptables

main thing config file:
/etc/default/linux-igd

, set external interface...
internatl interface..
"allow_multicast" or not...
, in file:
/etc/upnpd.conf
make sure
code:
create_forward_rules = yes
is present
change
code:
forward_chain_name = upnp_forward
and
code:
prerouting_chain_name = upnp_prerouting
change
code:
upnp_log_filename = "";
to valid 1 like"
code:
upnp_log_filename = "/var/log/upnp.log";
if internal interface eth1 these iptables rules should added.
code:
iptables -t filter -i input 1 -i eth1 -d 240.0.0.0/240.0.0.0 -j accept iptables -t filter -i input 2 -i eth1 -p tcp --dport 49152 -j accept iptables -t filter -i input 3 -i eth1 -p udp --dport 1900 -j accept iptables -t filter -i input 4 -i eth1 -p tcp -m tcp --dport 2869 -j accept  iptables -t filter -n upnp_forward iptables -t filter -i forward 1 -j upnp_forward  iptables -t nat -n upnp_prerouting iptables -t nat -i prerouting 1 -j upnp_prerouting



Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] UPNP for ubuntu server 10.04


Ubuntu

Comments