Archive for the ‘Uncategorized’ Category

OpenVPN IPV4 forward reminder

Friday, January 6th, 2012

This quick post is to remind me of the last step I need to do when setting up a new VPN:

echo 1 > /proc/sys/net/ipv4/ip_forward

Running that command as root enables forwarding of IPV4 packets. This will allow the VPN server to pass information back and forth between the VPN LAN segment, and your main network.  If that gets your VPN connection going, then you’ll need to make the change permanent.  To do that, edit this file:

vim /etc/sysctl.conf

Find the line that says “net.ipv4.ip_forward=1″ and uncomment it (remove the #)

iOS 5. The best iOS yet

Sunday, December 11th, 2011

Why is it the best iOS yet? Because I knew that I needed to get a new iOS device, and I could never talk myself into spending that kind of cash. Well, iOS 5 has done that for me. I used to be able to actually use my 4th Gen iPod touch (you know the latest and greatest). Then I decided I was finally going to be okay with wiping all of my data, all of my apps, all of my music, all of my everything, just to be graced with the latest iOS update. And then? Well… my iPod won’t work anymore. It wiped everything but absolutely refuses to update, even in DFU mode. Awesome. Thanks Apple!

WZR-HP-G300NH2 NAT Loopback thru Buffalo Stock Professional Firmware

Thursday, September 8th, 2011

So if you’re like me, and bought a WZR-HP-G300NH2 and was disappointed to find the lack of NAT loopback capabilities, your solution is below. Just go into the “Administration” menu and the “Commands” submenu. Save the text string below as a “Firewall command.” In other words, paste the command in, and then click the “Save Firewall” button. It will now apply itself after every reboot.  Be sure to paste it as a single line.

Be sure to change the network (“192.168.1.0″) to the appropriate address of your network.

iptables -t nat -I POSTROUTING -o br0 -s 192.168.1.0/24 -d 192.168.1.0/24 -j MASQUERADE