Running a Speedport W 501V behind an existing router

Start a telnetd on the Speedport (http://www.akk.org/~enrik/fbox/starttelnet.image)

Connect to your box via telnet an run this listing (adapt the adresses to your needs):

cat > /var/flash/debug.cfg << "EOF"
GW="192.168.0.254"
DNS="192.168.0.254"
/usr/sbin/telnetd -l /sbin/ar7login
echo nameserver ${DNS} > /etc/resolv.conf
/sbin/route add default gw ${GW}
echo 'while true; do voipd -R; sleep 900; done' > /var/flash/voipreg.sh
/bin/sh /var/flash/voipreg.sh &
EOF



After that add your stun settings to /var/flash/voip.cfg (example for sipgate.de):

stunserver = "stun.sipgate.net";
stunserverport = 10000;



Mail your comments or suggestion for improvement to
Tobias 'grondhal' Hain th@g23.org
I'll publish it here (if you agree)