Changing Multiple Directory and File Permissions

After setting up your website it is always a good idea to change the directory and file permissions.  This makes it a little harder for an attacker to compromise your site.  For Joomla and WordPress it is best practice to set your directory permissions to 755 and your...

AT&T 3G with Gobi 2000 on Routerboard 411UAHR

This is my first setup with 3G on a Routerboard.  It took a little longer than I wanted to figure everything out, but I eventually got it working.   The steps that made it work. Place the UMTS drivers in the /firmware directory on the Routerboard (You should be...

DNS Resolving for PPP Clients

Sometimes you will need to connect to a router that either has a dynamic IP or a domain name instead of directly to the IP address.  This is easily achieved using RouterOS  with a simple script.  Using the script below you will need to change PPP-INTERFACE to the name...

Block Facebook

Many businesses want to block facebook on their corporate networks.  Here is a useful site to lookup blocks of IPs. http://www.robtex.com/dns/www.facebook.com.html#records http://bgp.he.net/AS32934#_prefixes Using the IPs from above we can create firewall rules to...

Open NAT on Xbox Live

Here are the rules I use to open my NAT on Xbox Live.  Xbox.com says to “open” ports 88udp, 3074udp/tcp, 53udp/tcp, and 80tcp.  Assuming you can browse the internet you don’t need to NAT 80 and 53 to your Xbox.  These are just HTTP and DNS traffic...

PtP Bridge With 802.11N and NV2

Here is the configuration for a Point-to-Point link that can be used with a number of MikroTik devices.  With this example I used two StationTik 5G’s but could be used with SXT’s or any other Point-to-Point devices.  You might need to change your frequency...

NEC DT700 Phone Setup

When you first take the phone out of the box you will have to put some settings in it so it can call back to the server.  To do that it is not exactly straight forward and I could not seem to find it anywhere in the documentation.  After the phone starts to boot dial...

Fix Slow SSH Login (Ubuntu)

sudo echo “UseDNS no” >> /etc/ssh/sshd_config This prevents the server from doing a reverse DNS lookup on the IP address, which apparently takes forever sometimes.