HOWTO: Use DD-WRT To Bypass Filters – Part 3-1: SSH – The server

This is part 3 of 3 in a series. This series is actually for an English class assignment, but I decided to put it on my main blog instead of my second blog (http://antani02.blogspot.com/).

==DISCLAIMER==

Use these methods at your own risk. If your workplace has an Acceptable Use Policy that forbids employees from bypassing the filter, then think before making the decision to do so.


Previously, I explained how to use VPN to bypass a filter. I like that method a lot, but SSH has advantages. The SSH port 22 is usually open on firewalls, whereas VPN is less likely to be an open port. Also, it is a little simpler to set up.

So, here is how to set it up (Click images to enlarge):

1. Go to the router configuration page (Usually at 192.168.1.1)

1. Go to Services (You may have to enter your username and password)


2. Scroll down to where it says “Secure Shell”


3. Look in the image above, and use those exact settings under ‘Secure Shell’

And that’s it! The server configuration is done. Next post, I will explain how to connect to it and use it.

HOWTO: Use DD-WRT To Bypass Filters – Part 2-2: VPN – The client

This is part 2 of 3 in a series. This series is actually for an English class assignment, but I decided to put it on my main blog instead of my second blog (http://antani02.blogspot.com/).

==DISCLAIMER==

Use these methods at your own risk. If your workplace has an Acceptable Use Policy that forbids employees from bypassing the filter, then think before making the decision to do so.




See part 2-1 of this series for how to set up the server. In my last post, I explained how to set up a VPN server on a DD-WRT router. I will now explain how to access it, and use it as your internet connection.

On Windows it is quite simple. Perform these from a remote location. Here are step by step instructions for Windows 7:

1. Open Network and Sharing Center. This can be found by searching for it in the start menu.

2. Click “Set up a new connection or network”, and in the box that pops up, click “Connect to a Workplace”.

3. Click “Use my internet connection”, and for internet address, put the Internet IP address or hostname of your router. If you want a free hostname that you can remember, try DynDNS.

4. Click next, and for the username and password, put the username and password that is in the chap secrets on the router, leave Domain blank.

5. Click connect, the connection may fail, if it does follow these steps:

- In the Network and Sharing Center, click ‘Change adpater settings’.
- Right click on the VPN connection, and go to the “Networking” tab.
- Click on the IPv4 protocol, and click properties
- Click “Use the following IP address”, and set your IP address to the IP address that you set as the “Client IP”
- Set preferred DNS server to your router’s IP address (ex. 192.168.1.1)

Now it should work. And if you surf the web, all traffic will be going through the VPN.

For Ubuntu, it is a bit of a different process, and you must have installed the pptp-linux package:

1. Open a terminal window

To use this command, replace things like this: with the real thing. For example, if I say to type
pptpsetup -x [password]
And your password is foo, then type:
pptpsetup -x foo
I just wanted to be very clear on how to interpret my description of the command.

2. Anyway, type this:

sudo pptpsetup --create [anything here] --server [server name or IP] --username [your username] --password [your password] --start --encrypt


Use the username and password set in chap-secrets.

3. After that, you must route the internet through your new VPN server. Use this command:

sudo route del default gw [gateway IP address]

To find your gateway IP address, type “route” (no quotes) into the terminal, and look under “Gateway”.

Then, use this command:

sudo ip route add default via [Server IP address]

Your server IP address will be the one you set at the VPN setup page. Usually, it is 192.168.1.1

And that is the end of the VPN guide! Next post, I will show you how to use SSH to bypass a filter.

HOWTO: Use DD-WRT To Bypass Filters – Part 2-1: VPN – The server

This is part 2 of 3 in a series. This series is actually for an English class assignment, but I decided to put it on my main blog instead of my second blog (http://antani02.blogspot.com/).

==DISCLAIMER==

Use these methods at your own risk. If your workplace has an Acceptable Use Policy that forbids employees from bypassing the filter, then think before making the decision to do so.



VPN is one way to bypass a filter, it basically routes you to the internet through your home network, which is basically what SSH does. A notable difference is that with SSH, you don’t have access to the computers on your home network in the same way as VPN. With VPN, it puts you in the LAN that your router is in. You can use printers in the LAN, and even connect to them by local IP address (192.168.x.x). You can also access computers by IP address. This makes it more visible why VPN stands for Virtual Private Network.

With SSH, you are still going through the router, but aren’t placed in the LAN.

This post will focus on configuring VPN on a DD-WRT router. First though, I will explain some things to remember if you are considering installing DD-WRT.

First, check the DD-WRT database of compatible routers (Here). If you attempt to install it on an incompatible router, it may become permenantly bricked. If you don’t know, ‘bricked’ means a device that has been rendered completely useless (like a brick), usually as a result of messing around with the firmware. Also, read the installation instructions on the DD-WRT wiki (Here). I would also recommend reading and saving (Ctrl-S on most browsers) that page and any relevany pages, such as the Peacock Thread. Saving the pages is a good idea in case you screw up the router and cannot access the internet.

If you aren’t comfortable with installing DD-WRT, or otherwise just don’t want to, there are alternatives that don’t involve the router. You can install SSH servers on a computer at home, and use that instead. I won’t go into configuration of PC SSH servers, because that isn’t the focus of this tutorial.

So, now that you have DD-WRT installed and configured, you are ready to move on to the VPN server configuration. You can now access the web interface (Default IP address is 192.168.1.1) through your web browser. To do this, type 192.168.1.1 into your address bar.

Click to enlarge

You will see a page like this:

Click to enlarge
I have put 4 red dots on the ‘Services’ button. Click this button, and you may get a password prompt. If you have set a username and password, enter it. If not, the deafult DD-WRT username and password is:

User: root
Password: admin

After you type that in, you will be directed to another page. On this page, you may notice there is now a bar with a blue background under the other one. I have pointed it out in this image:


Click to enlarge

Click VPN in that bar. You will now see another page. Near the top, you will see PPTP server, and two radio buttons next to it (Enable and Disable). Radio buttons are the small circle buttons that you can click to activate. Click the Enable button, and then there will be more options. Set the next two radio buttons to ‘Enable’.

- For server IP, use 192.168.1.1, or whatever the IP address is (If you changed it).

- For client IP, put an IP address that starts with whatever the first 3 numbers of the Server IP is. For the fourth number, put any number up to 255. Remember the number you put here, as it will be used for client configuration.

- For chap secrets, put a username and password in this format:

username * password *

I used ‘root’ as the username, and it worked for me.

- Set the radius server radio button to “Disable”

Click “Apply Settings” at the bottom of the page, and the server’s configuration is finished!

Check out my next post for the VPN Client configuration (I have methods that you can use for both Windows and Ubuntu).

HOWTO: Use DD-WRT To Bypass Filters – Part 1: The story

This is part 1 of 3 in a series. This series is actually for an English class assignment, but I decided to put it on my main blog instead of my second blog (http://antani02.blogspot.com/).

==DISCLAIMER==

Use these methods at your own risk. If your workplace has an Acceptable Use Policy that forbids employees from bypassing the filter, then think before making the decision to do so.


The first time I bypassed an internet filter, I used WEP key cracking. I used this because there were 2 wireless networks, a non-filtered network, and a filtered network. It took me a few months to get it working properly, and at the end of it I had a fully functional method of cracking a 28-digit WEP key in 3 minutes with my laptop. I am now in a place where that will not work, so I had to exploit something else in the system to bypass the internet filter.

In case you don’t know what I am talking about, an internet filter is a filter that blocks certain websites (games, etc.)
The internet filter only filters port 80, and all other outbound ports are open (Yes, this is a very large security hole!) I started out by using SSH port forwarding from the filtered area to my home PC, effectively bypassing the connection (see diagram below).



I used that for a while, but decided to use something else that wouldn’t cost $9.00 a month in electricity. I then installed DD-WRT on my Linksys WRT160N router, and used the ssh server on the router.

This worked well too, but when I tried to play Second Life from the filtered area, it didn’t work. I then researched alternatives, and found that DD-WRT also has a VPN server. I decided to use the VPN server instead to see if that worked. It worked great, and although I don’t play Second Life anymore, it still has the added advantage of being able to access computers and printers on my home network.

In my next post, I will explain how to use VPN to bypass the filter.

How To Fix a Fedora Live CD That Doesn’t Boot

This morning I was having problems with a Fedora Live CD that I burned. After reading a bit online, I figured out the solution. I was originally burning it with Brasero, the CD buring software included with Ubuntu. I then tried a program K3D, available from the Ubuntu repositories.

I used these settings for burning:

- DAO/SAO mode (Disc At Once/Surface At Once)

- 8.0x burning speed

- K3D burning software

And the disc worked perfectly! I now have an installation of Fedora on my computer. That was my solution, it may not work for everyone, but if you are having problems, try it anyway!

New blog for English school assignments

Our class is currently writing ‘journals’ about things that we read twice a week. I decided to use my blog to publish these. In order to prevent cluttering up this blog, I have established a new blog for the purpose of these assignments.

I will be writing things mostly about articles, and some about books. The material I write about will be on different subjects. Some will be on Asperger’s Syndrome resources/information, others on technology. There may also be articles about entirely different subjects which I find interesting.

This blog is located at http://antani02.blogspot.com/

“Developing Talents” by Temple Grandin and Kate Duffy: Book Review

This book review is for a school assignment. I must read a book, and then write some things about it. First, I will talk a bit about how I came across this book.

I got this assignment, and I had to choose a book to write about. After thinking, and looking around for a book I could write about, I found this book. An EA in the resource room brought a few books in about Autism/Asperger’s Syndrome, and in my spare time at school I decided to read this one. I read it mainly because I have Asperger’s syndrome, and wanted some information about how people adapt to the workplace, and function properly.


The book’s full title is “Developing Talents – Careers for Individuals with Asperger Syndrome and High Functioning Autism“. After reading it, I learned a few useful tips, but most of it didn’t really seem practical. For instance, it suggested that if you are bothered by fluorescent lights, remove them from your work area, or move your work area. At my age, I don’t really know how good of an idea that actually is, but I think that it simply wouldn’t work in most work situations.

Employers want an employee who is productive and easy to accommodate. If the employee requires lights to be dismanteled, or a special room to work in, that isn’t going to work very well.

The book does provide some useful tips on finding jobs, and dealing with social situations. The tips that are not practical will work for a few people, but not most. There need to be more suggestions that will work for a wide range of people, especially for dealing with big problems.

It explains how promotions to management positions can be a problem, but it doesn’t really explain how to deal with that problem. In other words, it leaves a lot of ‘holes’ in the text, where it sometimes explains a problem and how to deal with it, or it may only explain the problem and give very vague information on how to deal with it.

On the positive side, it does have some very nice explanations about how people with Autism think. These explanations are very good if you want to understand yourself better.

I personally think it isn’t a very good book. But that is just my opinion. I didn’t have much time to complete this assignment, so I may have left some things out that I didn’t have time to thoroughly think about.

Well, that pretty much wraps up my book review. I think I covered enough to get a very basic idea of the book’s content.

The Hard Drive Space Misrepresentation

This post is about how Hard Disk manufacturers cleverly mislead you about how much space is actually on their drive. Before I write about that, I will tell the story of how I discovered this. So, here it goes:

I recently installed a firewall called ZoneAlarm. When it was installing, the computer froze, and I had to do a hard restart. This caused an incomplete installation, which may be the cause of my computer resetting within about a minute of booting Windows. This problem is almost certainly caused by ZoneAlarm. After messing around in Linux, trying to find a solution, I gave up and decided to reinstall Windows.

This is when the problem arose of my hard drive space. I never had problems with hard drive space before, with my 500gb desktop hard drive and my 320 GB laptop hard drive. Those hard drives add up to 720gb of space. This is both a good and a bad thing, because my backup hard drive is only 500 GB. I make absolutely sure that everything I have on my computer is backed up, because I have lost things in the past to all sorts of things (Usually starting with me messing with the partitions or something).

Since my laptop and desktop are both more than 75% full, I don’t have enough space for backups. In case you are wondering why I am talking about backups, it is because in order to reinstall Windows, I need to back my stuff up. So, I decide to buy another hard drive just for backups.

I go to PC Cyber, and buy a $72.00 (Canadian dollars) 1 TB internal hard drive. When I get home, I hook it up and boot Ubuntu. I try to open it to start copying files, but I realize there is no partition table (obviously). So, I go to the partition manager, and see that the drive is not 1 TB, but instead it is 931.51 GB. I discovered that the company that markets the drive (Western Digital) is misleading their buyers.

What they are doing is perfectly legal, because it is 1 TB. It is not a terabyte (TB), but instead a Tebibyte (TiB). You see, a TB is equivalent to 1000 GB. A TiB is equivalent to 1024 GB.

Computers read disk space in Binary multiples of bits/bytes. Which means units such as TiB, GiB and so on. I won’t go into much more detail than that, but you can see how it can create a difference like that.

YouTube Channel

I have had a YouTube channel for a while now, and I thought I’d make a post about it, explaining what it is for and the content on it.

I have had my YouTube account, randomdog12 since 2008. I created it primarily to rate and comment on videos. At the start of 2009, I had posted my first video. Since then, I have posted a few (mediocre) videos. Some videos are just made for fun, such as my Random Chase Video, and others are animations made with Blender. I also have some RuneScape videos, and am planning to add more in the future.

As for other future videos, I am currently working on another Blender simulation, which is looking quite good (OMG leaks). I am also going to upload some other Blender animations that I never made into videos, and a Smuggler’s notch Skate Park video that my friend and I made last summer that I never rendered.

An odd fix for an odd problem – fixed!

It turned out that the problem I was experiencing (Documented in this post) was that the 24-pin power cable (the big one that supplies power to the motherboard) was loose. I at first couldn’t believe that I had honestly missed that. It was probably the first thing the people at the computer store checked, and they still charged me $35.00 for it.

Anyway, that fixed it for good.

Older posts «

» Newer posts