Archive for category Sysadmin

Tunneling OpenVPN through stunnel

Continuing my string of posts on trying to get OpenVPN working through China’s Great Firewall… and a recent (and unexpected but much appreciated) report that TCP & UDP ports are blocked quickly, I’m now looking at getting OpenVPN to work with stunnel. My assumption is that the GFW is detecting the OpenVPN packets, since they’re […]

,

8 Comments

Getting OpenVPN to run on random ports

As I mentioned in a previous post, I have a friend who’s heading to China. I have an OpenVPN server. I thought the two would match together well, but then China went and started to filter & kill OpenVPN connections, and block those IP/port combinations. People are reporting that using a random port (as supported […]

5 Comments

OpenVPN and China’s Great Firewall

Slashdot linked to an article on China restricting VPN access, in particular OpenVPN clients. (Also: OpenVPN’s forums has a similar report) The problem seems to be they’ve implemented some sort of protocol detection that’ll flag and block OpenVPN connections after a while. Unfortunately, this is no longer an academic problem for me, since I’ve got a […]

, ,

10 Comments

I like uptime

Sadly, reboots must occur. But that doesn’t mean I can’t wait for a nice time. [root@vps ~]# uptime 16:10:10 up 75 days, 23:59, 2 users, load average: 1.06, 0.69, 0.33 [root@vps ~]# uptime 16:10:42 up 76 days, 0 min, 2 users, load average: 0.59, 0.62, 0.32 [root@vps ~]# reboot

, ,

No Comments

A grab bag of half-finished posts

Because I’ve started a bunch of posts, haven’t finished them, don’t really want to delete them but stuff looks potentially useful, and I’m clearing stuff out.

,

1 Comment

Fixing the RPC: S-5:AEC-0 error in Google Play

Fix in short: switch Google Play to a different Google Account, and switch back to the original account. It can be a new Google account, or one that already exists on your phone. I hope that helps, and if you want screenshots & more details, read on. 🙂 (Short version because, apparently, this post is […]

,

15 Comments

More CS137 setup… stuff

Because I am feeling accomplished, and because I also want to avoid my physics homework. I think I’ve got a pretty good system working for CS137 (and the UW CS servers) now. I’ve got: sshag working, so I don’t have to eval `ssh-agent` && ssh-add each time I open a new screen session a modified […]

, ,

No Comments

Getting OpenVPN to work on an OpenVZ VPS

Note: This is a personal VPN, so I just used static keys. A general guide to getting OpenVPN set up is available on the OpenVPN website, but this guide is targeted at CentOS 5 on an OpenVZ VPS. This guide should be usable in other RH derivatives without much (any?) modification; and with slight modifications […]

, ,

7 Comments

iptables fun and games

Note to self: When configuring iptables, don’t copy + paste /sbin/iptables -F /sbin/iptables -P INPUT DROP <bunch of other commands> into bash. I had A Bad Time.

, , ,

No Comments

VPS Playtime

So… I found a cheap VPS for me to play around with on LowEndBox after a few weeks of lurking on their site. $12/year for 256MB ‘guaranteed’ RAM, 15GB of disk space and 300GB of bandwidth. I am pleased. Except for the fact that it’s an CentOS OpenVZ instance, and I have had bad experiences […]

, ,

No Comments