Archive for May, 2008
Port Range Mapping SBS 2003 Standard
Friday, May 23rd, 2008or port forwarding multiple ports.
simply create a batch file with
FOR /L %%P IN (10012,1,11000) DO NETSH ROUTING IP NAT ADD PORTMAPPING INTERNET UDP 0.0.0.0 %%P 192.168.16.32 %%P
this would map ports UDP 10012 – 11000 from the INTERNET netwrok interface to 192.168.16.32
Change UDP to TCP as applies to your situation.
Online Video not Working in XP
Thursday, May 22nd, 2008Then I came across this website . Now this guy was annoyed. But I changed the setting and voila we have video. So while not optimal it works now.
A description of how to do it is here.
Basically go to WMP and Tools – Options – Performace and slide the slider to the left.
Port forwarding SIP. Trixbox GXP 2000 remote extensions
Tuesday, May 20th, 2008Ok heres what I did and it works. FYI. I have this wokring in 2 locations.
network config at location A
phone – sonicwall TZ170 – internet – SBS2003 – Trixbox
SBS doing the NAT on the TB side. total pain because you can only forward one port at a time.
network config at location b
phone – netgear router- internet – some really old crappy dlink airstream router – trixbox
I did upgrade the firmware on the dlink.
So my main problem was that you can only forward one port at a time with SBS 2003. So there was no way I was going to attempt to open 10001-11000 as requested by trixbox.
so on the TB side of the internet I forwarded 5060 TCP/UDP to TB. I forwarded 10001-10011 UDP/TCP to TB forward 69 UDP to TB if you want to get your config settings.
Edit RTP.conf
rtpstart=10001
rtpend=10011
Edit sip_nat.conf
externip=your static public IP of the LAN TB is on.
localnet=192.168.16.0/255.255.255.0 the subnet of your internal lan
nat=yes
externrefresh=10
TB is done and will work.
Let me also say that these are small systems so not having many rtp ports is ok for them. YMMV. if your router is easier to work with you may want to open as many as possible.
So now on the Phone side.
Set the phone to static IP. I prefer using dhcp reservations in the router. and leaving the phone set to dhcp.
in the router the phone is connected to
I forwarded 5060 TCP/UDP to the phone. I forwarded 10001-10011 UDP/TCP to the phone.
Then in the GXP2000 web admin under advanced settings change the local RTP port: to 10001
Set the firmware and config server path to the public IP or hostname of your trixbox so your phone will get its settings.
If you want the phone in any ring groups you must put them at the top of the list of extensions in the freepbx ringgroups. Dont ask me why…
I have BLF, the phones ring and everything is great. Now if I wanted 2 phones at 1 remote location I may have a problem. then I would use VPN as this SIP nat thing is a total pain. If I could find a decent IAX hardphone Id get it.
Clean Plesk qmail Queue
Tuesday, May 6th, 2008Clear / Clean Qmail Queue Completely, Safely & Fast.
Here is a quick and easy way to clear all email from the queue.
This will not remove anything it should not remove. It just clears
all email from the queue safely. This is just for qmail.
( Not for use with any other email programs )
Thanks goes to my Friend Zike at RS / EV1.
service qmail stop first!!
1) login to your server via ssh
2) su -
3) wget http://wepraisehim.org/qmailclear.sh
5) sh qmailclear.sh or sh ./qmailclear.sh
6) done.
For those that receive oversized file truncting errors.
Use the following more intense script. It take a little
longer but gets the job done.
1) login to your server via ssh
2) su -
3) wget http://wepraisehim.org/qmailclean.sh
5) sh qmailclean.sh or sh ./qmailclean.sh
6) done.