A quick fix for DD-WRT not forwarding GRE PPTP packets. Add the following commands to the startup commands (Administration->Commands): /sbin/insmod xt_connmark /sbin/insmod xt_mark /sbin/insmod nf_conntrack_proto_gre /sbin/insmod nf_conntrack_pptp /sbin/insmod nf_nat_proto_gre /sbin/insmod...
Read more
Blog
IP Tables Sample
#!/bin/bash service iptables stop iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP iptables -N okay iptables -A okay -p TCP –syn -j ACCEPT iptables -A okay...
Read more
Generate a self signed SSL Certificate and Key in one Command
openssl req \ -x509 -nodes -days 7700 \ -subj ‘/C=US/ST=California/L=Los Angeles/CN=${HOSTNAME}’ \ -newkey rsa:1024 -keyout server.key -out server.crt...
Read more
Vitelity SIP Trunks Settings (Using IP Authentication)
Outgoing Settings PEER Details: type=friend dtmfmode=auto context=from-trunk ; (this could be ext-did or from-pstn as well) canreinvite=no host=outbound.vitelity.net Inbound Route Settings: PEER DETAILS: type=peer reinvite=yes port=5060 insecure=invite,port host=inbound22.vitelity.net fromdomain=inbound22.vitelity.net dtmfmode=auto...
Read more
Mac OS X 10.6 Snow Leopard VPN PPTP Broken
If you find that after you upgraded to Mac OS X 10.6 Snow Leopard and your PPTP/VPN connections could no longer route traffic to VPN devices or the public internet...
Read more
Checkout the LaTeX Plug-in
I came across a nice plug-in that will allow LaTeX in my posts! This will make things much easier! Remember This One (Hint: Signals are easier to analyze in this...
Read more
asterisk feature digit timeout
trw TW edit the file [ /etc/asterisk/features_general_custom.conf ] and add the below listed line. featuredigittimeout=2000...
Read more
BW (No Nat) Works
This case below works: pbx —> BW canreinvite=yes context=from-pstn dtmfmode=rfc2833 host=216.82.224.202 nat=yes outboundproxy=216.82.224.202 progressinbound=yes qualify=no type=peer disallow=all allow=g729...
Read more
SIPp Asterisk Load Test with RTP Media
./sipp -sf uac_pcap.xml -d 30000 -r 5 -t un -sn uac -l 50 -m 100 -s 2005 -mp 13000 192.168.1.61 -i 192.168.1.192 -trace_err...
Read more
Reset MySQL root password
If you have forgot the root MySQL password and need to reset it, use the following commands: Note: this example applies to RH flavors of linux (RH, Fedora, Centos, etc..)...
Read more