heredago's blog

September 17, 2013

how to connect to a VPN server on a TomatoUSB router and then only tunnel the traffic to specific hosts

Filed under: Uncategorized — Tags: , , , , , , , , , — heredago @ 20:48

1- setup openvpn connection on the router

https://www.privateinternetaccess.com/pages/client-support/#tomato_openvpn

https://www.privateinternetaccess.com/forum/index.php?p=/discussion/110/updated-tomato-setup-for-newer-branches-including-tomatousb

 

2- ImageImageImageImage

 

 

then

2- only tunnel specific hosts route through openvpn client on tomato

http://serverfault.com/questions/382498/howto-only-tunnel-specific-hosts-route-through-openvpn-client-on-tomato

I finally did it 🙂

I’m using v1.28.9054 MIPSR2-beta K26 USB vpn3.6, but should work on others, as it’s networking.

OpenVPN wants to setup all your routing, you’ve got to stop that…

In VPN Tunneling/Client/Basic: Uncheck “Create NAT on Tunnel”

In VPN Tunneling/Client/Advanced: Uncheck “Redirect Internet Traffic”

Custom Configuration, add the line: route-nopull

 

In Administration/Scripts/Firewall, make sure you have:

iptables -I FORWARD -i br0 -o tun11 -j ACCEPT
iptables -I FORWARD -i tun11 -o br0 -j ACCEPT
iptables -I INPUT -i tun11 -j REJECT
iptables -t nat -A POSTROUTING -o tun11 -j MASQUERADE

Reboot, and viola, you got nothing…

Then, in a VPN up script (Best choice), or if you have your VPN start with WAN, put in your Administration/Scripts/WANUP

sleep 30
ip route flush table 200
ip route flush cache
ip rule add from 192.168.1.11 lookup 200
ip rule add from 192.168.1.13 lookup 200
VPN_GW=`ifconfig tun11 | awk '/inet addr/ {split ($2,A,":"); print A[2]}'`
ip route add table 200 default via $VPN_GW dev tun11

This probaly isn’t the “best” or “proper” way to do it, but it works. Now only 192.168.1.11 and192.168.2.13 will go through the OpenVPN tunnel. All other devices, and their traffic will go local.

This was extremely important for me, as i didnt want my Transmission torrent traffic going over the VPN. Some guy like SgtPepperKSU is looking at this and probably laughing… Anyway, from one Routing noob to another…

Advertisements

December 30, 2012

PIA VPN DNS LEAK INSTRUCTIONS REDDIT private internet access utorrent

Filed under: Uncategorized — Tags: , , , , , , , — heredago @ 05:58

http://www.reddit.com/r/VPN/comments/15iixg/pia_vpnam_i_doing_it_right_a_few_quick_questions/

Second, it seems like a bug. Apparently with the prevent DNS leaks setting active it screws with your network settings. It basically just turns off DHCP and then it needs to be reactivated after you close the VPN. It’s a quick fix. (TROUBLESHOOT ACTUALLY WORKED….WTF)

 

[–]hallorad 1 point 2 days ago (2|1)

Thank you for asking and thank you for sharing this. I’ve been having exactly the same problems with their client. Troubleshoot has been a lifesaver for me as well. Like you, I’m wondering if there is an easier way or a better client we can use?

 

[–]kriegers_van 2 points 2 days ago (3|1)

You can use the OpenVPN client, not PIA’s modified version — they link it from their client support page, but you can find it here. It is not as “full featured” as the PIA client (no built-in DNS Leak protection or “internet kill switch”) but it is less invasive (for the same reasons).

The instructions for setting up the client are in the “Advanced OpenVPN SSL Usage Guides” sections of PIA’s client support area.

I’ve used both clients and neither are trouble free for my purposes. I like the kill switch so that traffic I am not constantly monitoring isn’t going out over a non-VPN-ed connection if my client drops, but I too found the fiddling with my OS’ network settings to be troublesome. In the end, I decided to install a virtualized copy of Windows and run the PIA client inside that, and run all my applications that I want channeled through the VPN inside the virtual machine. I don’t care what PIA’s client does to the settings inside my virtualized Windows, and I get all the benefits I want with the security of the link killer.

This is a short-term solution until I can move to a routed traffic setup that doesn’t require such shenanigans on the user end.

 
 
 

 

[–]kandt_- 2 points 13 hours ago* (2|0)

I have the same issue and it can be solved with a very simple batch script. Execute this

netsh interface ip set dns <your-connection-name> static 8.8.8.8
netsh interface ip add dns name=<your-connection-name> addr=8.8.4.4
ipconfig /flushdns
TIMEOUT /T -1

after you disconnect and it will reset your DNS to point to Google’s DNS service. You must run it as an admin, and it will wait for keypress to exit.

EDIT: You can also fix a DNS leak with a similar script rather than using PIA’s software if you so choose.

ipconfig /flushdns
netsh interface IPv4 set dnsserver <your-connection-name> static 0.0.0.0 both
TIMEOUT /T -1

Run before connecting. You can find <your-connection-name> by running ipconfig if you didn’t know. It’s whatever connection your IP is associated with when you’re connected without the VPN.

December 17, 2012

Setup your own VPN server for $10 per year

Filed under: Uncategorized — Tags: , , , — heredago @ 14:14

Running your own VPN

This will make it a 5 minute automated setup: https://www.intovps.com/client/knowledgebase/34/How-to-install-and-configure-OpenVPN-on-Centos-5.html

Get a cheap $10 box/year from 123Systems

https://123systems.net/billing/cart.php?gid=19

Or a $15 one from http://buyvm.net/

Actual instructions to setup the VPN on the VPS server:

How to install and configure OpenVPN on Centos 5

This is tutorial on how to install and configure OpenVPN in a few easy steps on Centos 5.

wget http://www.intovps.com/scripts/ovpn_install_script.sh

  • Make the script executable:

chmod +x ovpn_install_script.sh

  • Run the script

./ovpn_install_script.sh

  • Follow the instructions from the script
  • When you are done with the installation you need to copy clientkeys.tgz from /etc/openvpn/keys/ to your PC (you can do this with winscp for example)

 

 

http://www.reddit.com/comments/whg1n

How to efficiently hide your IP address from torrents using a (paid) VPN connection

Filed under: Uncategorized — Tags: , , , , , , — heredago @ 00:51

Beware, utorrent and other torrent apps for some versions using a SOCKS5 proxy, especially the older versions, leak your real ip to the tracker, and from there the tracker sends it to the peers, revealing your real ip address.

It is not the fault of the proxy, but rather with the bittorrent app that isnt programmed properly.

You have several options without using a proxy to prevent the occasional VPN drops that will happen with any VPN:

The following uses Windows firewall to block your bittorent app from using the internet (in or out) unless it is through the Public network (which is your VPN as you shouldnt place your VPN network as private): http://practicalrambler.blogspot.co&#8230;.lways-use.html

http://checkmytorrentip.com/# go to FAQ #4, to manually remove the route to the router after you connect to the vpn. But the drawback is that you no longer have a route to the router meaning no file/printer sharing with the rest of the network, and if you forget to put the route back into netstat then you wont have internet after disconnecting from the internet. This method is 100% effective provided you remember to use it.

You also have the option of trying to use your non-windows firewall to allow connections for the bittorrent app to anything other than your local area connection ips, if you can get it working. Commodo doesnt seem to work properly for some rules for some reason.

You can skip VPNetMon as it doesnt close the app in time if the VPN drops, and will expose your ip for a few secs after the drop. The VPN Kill Switch feature in PIA doesnt seem to work consistently either. I suggest the first 2 things I mentioned above for security.

http://forums.redflagdeals.com/hma-vpn-hide-my-59-99us-1-year-24-off-1269800/14/#post15975300

December 7, 2012

How to buy bitcoins in Canada

Filed under: Uncategorized — Tags: , , , , , — heredago @ 17:42

Source: 

[Guide] How to buy bitcoins in Canada

 

Have you ever heard of a bitcoin before? We’re guessing that this may be the first time that many of you have heard of it. Even if you have heard of bitcoins, we’re guessing that you may not know exactly what they are, how they work, what they’re used for or how to acquire them. We’re going to try to answer the most common questions regarding bitcoins in this article. We find bitcoins to be a fascinating, yet confusing topic as a good understanding of bitcoins would require a person to be proficient in macroeconomic theories, financial theory, cryptography and computer programming. We’re not proficient in any of these subject matters unfortunately; therefore we are left with only a rudimentary understanding. Nevertheless, we’d like to share what we know about this subject matter.

Quick guide on how to purchase bitcoins in Canada

If you’re looking for a quick guide on how to buy bitcoins, follow these steps. If you need more instructions, please see our step by step guide here (near the end of this article).

1)      Deposit funds into an exchange such as Canadian Virtual Exchange
2)      Purchase bitcoins on the exchange (in as similar manner that you would buy shares on a stock exchange)
3)      Setup a wallet on your smartphone, such as Bitcoin Wallet for Android
4)      Send the bitcoins stored in your account stored in Canadian Virtual Exchange’s bitcoin wallet to your bitcoin wallet on your smartphone

What is a bitcoin?

Bitcoin (BTC) is an experimental digital currency that was introduced on January 9, 2009. Its main featuresare that its electronic (paperless, in most forms), uses a peer to peer network (therefore there’s no centralized authority that issues bitcoins or confirms transactions), it’s encrypted, it’s potentially anonymous, the transactions are irreversible and there is a finite supply.

Who created bitcoin?

The identity of the bitcoin creator is unknown. He or she is known only by their pseudonym Satoshi Nakamoto. The most common way to write Nakamoto is 中本 and 中 means inside or middle, 本 means book, main or original and Satoshi is commonly written as 智 meaning wisdom, knowledge or sage. The pseudonym can be translated as “wisdom in story” or “wisdom in origin”.  The creator is believed to be of Japanese descent, buthe has not written a single word in Japanese, the bitcoin client does not have a Japanese version and thebitcoin webpage does not have a Japanese version. You can read Satoshi Nakamoto’s white paper describing the bitcoin network here.

What is a bitcoin worth?

The exchange rate for bitcoins has varied quite a bit. A bitcoin was worth as little as $2 USD and as high as +$30 USD. At the time of this writing, it’s currently trading at approximately $13 CAD. There are many nice charts showing bitcoin historical prices.

Why do bitcoins have value?

Bitcoins have no intrinsic value as it is not backed by anything. This is not that different than fiat money. Fiat money (like the Canadian dollar) has no intrinsic value either. However, some may argue that the Canadian dollar is backed by the taxation and income generating power of the Canadian government and its value is derived by its relative scarcity. Gold backed currency was backed by the promise of delivering physical gold in exchange for paper money. Since 1971 when former President Richard Nixon took the United States off of the gold standard, no currency in the world has been backed by gold. Some argue that bitcoins derives its value from the cost of electricity, also known as the theory labor of value (see bitcoin mining below), but othersdisagree. The popular opinion is that the value of bitcoins is based on what people are willing to pay/sell bitcoins (the laws of demand and supply). This is known as the subjective theory of value. Bitcoins have value because they’re useful and they’re scarce.

Do some people speculate on bitcoin?

Yes. Some people believe that bitcoins will increase in value over time. Therefore, they’re hoarding bitcoins and waiting.

Oates, 30, read about Bitcoins on a tech forum and asked his parents to invest with him two weeks ago. He converted about $2,000 and is letting it sit. He likes that the currency can’t be forged, that each Bitcoin has a public transaction chain, and that “it encourages saving instead of spending.” (fortune.com)

How do bitcoins compare to other forms of money?

Bitcoins were designed to avoid or at least mitigate many of the disadvantages inherent with other forms of money. For example, there is a limited and finite supply of bitcoins. Therefore, bitcoins are not subject to inflation caused by increased supply (a common result of printing money). There are many other advantagesto using bitcoins. Bitcoins do not rely upon any central authority. Therefore, it is not regulated or subject to the manipulation by any specific country. Bitcoins are not subject to taxes (not yet at least), potentially anonymous (cannot track past transactions easily) and irreversible (unlike credit cards, paypal or online interac, each bitcoin payment is generally permanent).

How many bitcoins are there? What’s the market capitalization?

As of this writing, there is approximately 10 million bitcoins in existence. The bitcoin network is designed so that there will never be more than 21 million bitcoins in existence. It is estimated that by 2028, 98% of bitcoins will have been mined and by 2040, all bitcoins will be generated. At the current trading value of $13 per BTC, the total value of bitcoins on the planet is approximately $140 million USD.

How often do bitcoins change hands? What’s the volume?

There is only 10 million bitcoins in existence, but incredibly there are days where 14 million bitcoins exchange hands. Therefore, the entire bitcoin economy was traded 1.4x in a single day. That’s not normal behaviour of course, but it has happened. You can see a chart of transaction volume here. It appears that the average trading volume is approximately a million a day.

How many people use bitcoins?

It’s difficult to say with any certainty, but it is estimated that 60,000 people use bitcoin.

What happens when all 21 million bitcoins are generated?

Bitcoins are in theory infinitely divisible (right now, there are 8 decimal points ). Therefore, “As the value of the unit of 1 BTC grows too large to be useful for day to day transactions, people can start dealing in smaller units, such as milli-bitcoins (mBTC) or micro-bitcoins (μBTC).

How did the first bitcoin transaction take place? How much were early bitcoins valued?

The first version of the bitcoin client was released on a crytography mailing list on January 11, 2009. The first bitcoin transaction was between Satoshi Nakamoto and Hal Finney (a fellow cryptographer, one of the lead programmers at PGP Corporation and an Atari 2600 developer). The first exchange rate for bitcoins was published on October 5, 2009. Bitcoins were deemed to be too expensive at the time. The exchange rate was $1 USD = 1,309.03 bitcoins.

What is bitcoin mining?

You can earn bitcoins by running a software on your computer. This is called bitcoin mining. You can spend a small fortune on graphic cards in order to “mine” bitcoins on your desktop computer. The software will try to solve complex mathematical formulas which are used to confirm past bitcoin transactions, to confirm who owns which bitcoins and to prevent fraud (i.e. buying something twice with the same bitcoins). This computational power is used only to maintain the bitcoin network. Therefore, there is no higher purpose like in many other distributed computer networks (e.g. finding aliens, solving unproven mathematical problems, curing cancer, cracking encryptions, etc.). The computational power in the bitcoin network is already more powerful than the world’s fastest supercomputer. Bitcoins are automatically awarded by the network to certain miners in order to encourage users to solve or prove the mathematical problems. Therefore, proving these problems ensures the integrity of the bitcoin network. The number of Bitcoins awarded/generated is set to decrease geometrically, with a 50% reduction every 4 years. This algorithm was chosen because it approximates the rate at which commodities like gold are mined. A bitcoin miner may also earn bitcoins in transaction fees for large transactions (as eventually, there will be no more bitcoins to mine). Bitcoin miners often pool their resources together to mine bitcoins, therefore any reward earned will be divided pro rataamong the miners. There are quite a number of bitcoin pools. Some have even utilized the computing power of Amazon EC2 cloud computing to mine bitcoins. That being said, we do not recommend bitcoin mining as the capital investment is high and you may spend more money on electricity than what you’ll earn in bitcoins. There are various online calculators to help you decide if mining bitcoins could be a profitable endeavor.

What is a bitcoin wallet?

Bitcoins need to be stored somewhere. They cannot be in a void. In you’re using the default bitcoin client, there is a file called “wallet.dat” on your computer and that file stores a collection of secret keys that allows you to spend your bitcoins. It’s the equivalent of your bank account details. A bitcoin wallet can be in digital form or on in paper form. You can have a paper wallet by printing out the secret keys on a piece of paper. Some argue that a paper wallet is more secure if done properly, but we think that it defeats the purpose of having a digital currency. If you use the default bitcoin client, your bitcoin wallet is stored on your computer. If the hard drive in that computer dies and you didn’t backup your wallet, you lose all of your bitcoins. If someone gains access to your computer and steals your wallet, you may lose all of your bitcoins. That’s why a lot of people encrypt their wallets using various techniques. There are many ways to help secure your wallet. You can even encrypt your wallet with truecrypt and upload it to a cloud service like dropbox. If you install a bitcoin app on your smartphone (android or iOS), your wallet is on your smartphone or tablet device. Therefore, if you lose your smartphone or tablet device, you lose your bitcoins if you didn’t make a backup of your wallet. The rule is that if you have any significant amount of bitcoins, make a backup of your wallet.

What happens if you lose your wallet?

Just like your real wallet, if you lose your bitcoin wallet, you lose your bitcoins forever. What’s interesting is that since there is a maximum number of bitcoins that will be generated, the lost bitcoins will never be replaced. It’s not possible to replace lost bitcoins, as how can you differentiate between lost bitcoins and bitcoins sitting in a wallet waiting to be spent? Therefore, the more users that lose their wallets, the more valuable the remaining bitcoins become as bitcoins become more scarce.

What about deflation?

As the value of a bitcoin increases, the number of bitcoins required to purchase an item decreases. This is a deflationary economic model. You can read more about the deflationary spiral here.

“Also, Bitcoin users are faced with a danger that doesn’t threaten users of any other currency: if a Bitcoin user loses his wallet, his money is gone forever, unless he finds it again. And not just to him; it’s gone completely out of circulation, rendered utterly inaccessible to anyone. As people will lose their wallets, the total number of Bitcoins will slowly decrease.

Therefore, Bitcoin seems to be faced with a unique problem. Whereas most currencies inflate over time, Bitcoin will mostly likely do the just the opposite. Time will see the irretrievable loss of an ever-increasing number of Bitcoins. An already small number will be permanently whittled down further and further. And as there become fewer and fewer Bitcoins, the laws of supply and demand suggest that their value will probably continually rise.

Thus Bitcoin is bound to once again stray into mysterious territory, because no one exactly knows what happens to a currency that grows continually more valuable. Economists generally agree that a low level of inflation is a good thing for a currency, but nobody is quite sure about what might happens to one that continually deflates. Although deflation could hardly be called a rare phenomenon, steady, constant deflation is unheard of. There may be a lot of speculation, no one has any hard data to back up their claims.

That being said, there is a mechanism in place to combat the obvious consequences. Extreme deflation would render most currencies highly impractical: if a single Canadian dollar could suddenly buy the holder a car, how would one go about buying bread or candy? Even pennies would fetch more than a person could carry. Bitcoin, however, offers a simple and stylish solution: infinite divisibility. Bitcoins can be divided up and trade into as small of pieces as one wants, so no matter how valuable Bitcoins become, one can trade them in practical quantities.

In fact, infinite divisibility should allow Bitcoins to function in cases of extreme wallet loss. Even if, in the far future, so many people have lost their wallets that only a single Bitcoin, or a fraction of one, remains, Bitcoin should continue to function just fine. No one can claim to be sure what is going to happen, but deflation may prove to present a smaller threat than many expect.” (bitcoin.it)

Are bitcoins subject to inflation?

As there is a limited supply of 21 million bitcoins, bitcoins will not be subject to inflation caused by increased supply. However, bitcoins can suffer from inflation if demand drops.

“Temporary inflation is possible with a rapid adoption of Fractional Reserve Banking but will stabilize once a substantial number of the 21 million “hard” bitcoins are stored as reserves by banks. Given the fact that Bitcoin is a distributed system of currency, if demand were to decrease to almost nothing, the currency would be doomed anyway. The key point here is that Bitcoin as a currency can’t be inflated by any single person or entity, like a government, as there’s no way to increase supply past a certain amount. Indeed, the most likely scenario, as Bitcoin becomes more popular and demand increases, is for the currency to increase in value, or deflate, until demand stabilizes.” (bitcoin.it)

What’s a bitcoin address?

bitcoin address is sort of like an email address, it can look something like this.

175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W

The bitcoin address is what you give people so that they can send you bitcoins. A person can have multiple bitcoin addresses, just as they can have multiple email addresses. To promote privacy, your bitcoin address will change after every transaction. In other words, if you send or receive bitcoins from your wallet, your wallet will generate a new bitcoin address immediately afterwards. You don’t have to keep track of your bitcoin addresses. If you care about privacy, always give you the the newest generated bitcoin address. That being said, you can still receive bitcoins using any of your old bitcoin addresses. Please note that bitcoin addresses are case sensitive, therefore it’s recommended to copy it and paste the bitcoin address instead of typing it in by hand.

Can you use QR codes instead of a bitcoin address?

Yes. You can generate a QR code at Wolfram Alpha to make it easier for people to send you bitcoins with their smartphones. All that you need to do is paste in your bitcoin address followed by QR CODE and it will generate a QR code for you.

What happens if I make a typo and send bitcoins to a non-valid bitcoin address?

A valid bitcoin address has to pass a 32 bit checksum verification. Therefore, the odds of typing in a valid bitcoin address by accident is about 1 in 4,294,967,296. In other words, 4,294,967,295 out of 4,294,967,296 random addresses will result in an invalid bitcoin address. If you beat the odds and send bitcoins to a valid address by accident, the bitcoins are gone for good. If you try to send it to a non-valid bitcoin address, your bitcoin client will not allow you.

What can you buy with bitcoins?

You can buy a lot of different things, such as vacations, hotel stays, coffee, tea, electronics, gold/silver, clothes, software, gift cards, Usenet service, VPN’s, VPS’s, etc. Recently, WordPress.com started accepting bitcoins, which is one of the more reputable names that is accepting bitcoins.

“PayPal alone blocks access from over 60 countries, and many credit card companies have similar restrictions. Some are blocked for political reasons, some because of higher fraud rates, and some for other financial reasons. Whatever the reason, we don’t think an individual blogger from Haiti, Ethiopia, or Kenya should have diminished access to the blogosphere because of payment issues they can’t control. Our goal is to enable people, not block them.” (wordpress.com)

Reddit.com CEO recently hinted that Reddit is considering accepting bitcoins for its premium service.

As the bitcoin juggernaut continues to roll forward absorbing merchants and customers globally it leaves archaic and unsuspecting payment methods in its wake. As one bitcoin forum member articulated, merchants will increasingly be asked: “What’s your Bitcoin strategy?” (forbes.com)

There is a comprehensive list of stores that accepts bitcoin payment herehere and here.

What are the regulatory concerns regarding bitcoins?

It is interesting to note that Amazon does not accept bitcoins, probably due to regulatory uncertainty surrounding bitcoins. How do you tax bitcoins? Should Amazon ever accept bitcoins, we’re betting that bitcoin prices will probably rise. There is so much regulatory uncertainty regarding bitcoins that even a non-profit organization called EFF stopped accepting bitcoin donations because they didn’t know how to treat them under securities law, the Stamp Payments Act, tax evasion laws, consumer protection and money laundering regulation. Eventually, these legal uncertainties will be ironed out when a court is asked to decide these questions or if certain clarification amendments to legislation is passed. We’re betting that it’s going to be the IRS that will be pushing bitcoin jurisprudence forward.

How do you buy bitcoins?

There are many different ways one can acquire bitcoins. You can mine bitcoins on your computer or you can buy them from someone that already has bitcoins. You can try to buy bitcoins in person from someone in yourarea. This involves meeting face to face with the bitcoin seller in your area. You can also buy bitcoins over-the-counter (OTC) from IRCBitcoinary or on a forum. This entails you agreeing to send someone funds via paypal or by another method, and you hope that the bitcoin seller sends you bitcoins afterwards. It is based on a feedback system similar to eBay. For various reasons, we do not recommend any of these methods as bitcoin mining is too slow, expensive and complex, OTC lacks certainty (you have to trust strangers on the internet) and meeting strangers in person to buy bitcoins sounds undesirable as we tend to be anti-social human beings at hippowise (maybe it’s just me).

What is a bitcoin exchange?

There are multiple bitcoin exchanges, just as there are multiple stock market exchanges. As you can trade the shares of the same company on different stock exchanges, you can trade bitcoins on many different exchanges as well. Bitcoins are traded in 18 different currencies, therefore there could be a slight pricediscrepancy between the exchanges as demand and supply varies from exchange to exchange. Arbitrageurs will undoubtedly take advantage of any market inefficiencies. Therefore, the spread between bitcoin prices will tend to narrow. By far, the largest bitcoin exchange is mtgoxUSD with almost 60% of the market. We’re mostly interested in Canadian funds and there are only 2 bitcoin exchanges that trade in Canadian dollars, Mt. Gox (CAD) and Canadian Virtual Exchange. There is no easy way for a Canadian to deposit cash into Mt. Gox, therefore we recommend using the Canadian Virtual Exchange. We’ll get into this later.

How to buy bitcoins in the United States?

It is much easier to buy bitcoins in the United States than in Canada as you can buy bitcoins from any Walmart and at participating 7-11′s. The easiest way is to buy bitcoins in the United States is to fill out a form at BitInstant, decide how many bitcoins you want to buy and print off the barcode that is generated for your transaction. The transaction is now pending. Visit your local Walmart or participating 7-11. The cashier scans the barcode and takes payment (it’s just a standard “bill payment” transaction as far as their cashier is concerned). Walmart’s or 7-11′s computer talks to BitInstant’s computer, and by the time you get home you should see the bitcoins in your bitcoin wallet.

A step by step guide on how to buy bitcoins in Canada

Now, that you have a general overview of bitcoins, let’s discuss how you can buy bitcoins in Canada. It’s not as simple as you may think as bitcoin transactions are generally irreversible, therefore you cannot usually buy bitcoins with a credit card, via paypal or via e-interac as those are all reversible methods of payment.

Step 1: Sign up for an account.

The first thing that you have to do is sign up for an account at Virtex here. If you clear your browser cache often, every time that you try to login to your Virtex account, it will send you an email and you have to click on that email to confirm your identity before it will allow you to login into your account.

Step 2: Submit a form on Virtex, so they know how much money you want to deposit with them.

Go to the deposit page here. You will see an 8 digit account number. That’s your account number at Virtex.

Choose between Cash Deposit at RBC, BMO or Scotiabank. You do not need to be a client at any of the banks in order to make a cash deposit. Therefore, you can pick any bank that’s convenient for you. For the amount (CAD), there is a special instruction. Let’s say you want to deposit $50 CAD. You will need to enter in 50.78 in the “Amount (CAD)” as 78 are the last 2 digits in your Virtex account number. This is an additional verification to ensure that your deposit gets credited to the correct account. For another example, if you want to deposit $20 and your account number is 51724295, you will need to enter in 20.95 in “Amount (CAD)”. Click Deposit.

Step 3: Go to your local RBC, BMO or Scotiabank bank branch.

These are Virtex’s bank account information at RBCBMO and Scotiabank. Print out the bank account details for the bank that you’d like to use. Go to your local branch and ask the teller to deposit the funds into the account specified on the print out. If they ask you, you can tell the teller that it’s not for a business transaction. Make sure to deposit the same amount as you specified above. Therefore, if you initially wanted to deposit $50, you must deposit $50.78 into Vertex’s bank account. The extra 78 cents will be credited to you as well. The bank will typically ask you for your name to add to the notes of the deposit. The teller will not ask you for identification if you deposit cash. Make sure to take a deposit receipt to prove that you deposited the funds (should the need arise). Virtex checks cash deposits throughout the day. You will receive an email when your account has been credited.

Step 4: Check your balance and open a trade

Let’s assume that you deposited $50.78, a few hours later you should see the funds deposited into your Virtex account as shown below. Notice that the credited amount is less than you deposited? There is an approximate $3 fee per cash deposit. Virtex is running a business after all.

Now that the funds are in your account, you can open a trade in order to purchase bitcoins. As you will soon realize, buying bitcoins on an exchange is a similar experience as buying shares on a stock exchange. With a bitcoin exchange, there is an order bookbids and asksbid-ask spread and candle stick charts. It’s pretty neat. To open a trade, click here. Fill out the form by inputting how many bitcoins (BTC) you would like to buy, the price you’re willing to pay per bitcoin (up to 2 decimal places) and click buy. Take a look at the order bookhere to figure out what your bid price should be.

This is what the Order Book looks like on Virtex.

Just like in the stock market, if you want your order to be filled immediately, enter in the lowest “Selling BTC” (aka the ask price, in this example it’s $12.20) and your order should be filled almost instantaneously. It will only cost you a little bit more, but it’s up to you if it’s worth it. The default price is the lowest “Selling BTC” price. It’s inputted for you automatically. The difference between the highest Buying BTC price (bid) and the lowest Selling BTC price (ask) is the bid-ask spread. The smaller the spread, the more efficient the market and the more liquid the assets are. Cash is very liquid therefore the bid-ask spread is measured in 1/100th of a percent. We’re not exactly sure if Virtex acts as a market maker, but if they do, Virtex keeps the spread. The market maker would buy bitcoins at a certain price and sell them at a higher price, therefore keeping the spread for themselves. That’s the reward for creating liquidity in the market. You should make sure that the total cost is less than what you have available in your account. There is a 3% trade commission fee per trade, therefore you will have to try a couple of times to figure out how many bitcoins you can buy. Once you’ve entered in the order to buy bitcoins, you should see something like below. Push confirm if it’s correct.


It’s possible that your order is only partially filled if the amount of bitcoins available at the ask price is not sufficient to fulfill your order to buy. If that’s the case, you can do nothing and wait and hope for the ask price to go lower or you can increase your bid price to match the new ask price if you want the rest of your order to be filled immediately. As you can see, Virtex is an example of an “order driven” exchange. The benefits of an order driven exchange is its transparency as you can see all of the bids and asks.

Once your entire is filled, you should see something like this. Assuming you deposited approximately $50, you would now be the proud owner of approximately 3.73 bitcoins.

Step 4: Setup a bitcoin wallet

We’re going to use an Android smartphone app for this demonstration, but the same general principle applies for iOS bitcoins apps. You can also setup a bitcoin wallet on your PC instead. We just like having our bitcoin wallet on our phone.

Download this app from the Google Play store called Bitcoin Wallet. It looks like this.

Once it’s installed, you may have to wait a few minutes so that it connects to the bitcoin network. If you navigate around, you should see your very first bitcoin address (as we explained above). Copy your bitcoin address and send it to yourself by email.

If you navigate to another page, you should see something like below. It shows that you have 0 bitcoins. Now, it’s time to send your bitcoins to your new wallet.

Step 5: Transfer your bitcoins from Virtex to your bitcoin wallet

Click here to withdraw or transfer your bitcoins to your wallet. Input in how many bitcoins you would like to send (including decimals) and enter in the bitcoin address that was generated by your wallet (the one that you sent to yourself by email). Double check to make sure that the bitcoin address that you inputted matches exactly with the bitcoin address generated by your wallet. It is case sensitive. Once you’re sure that everything is correct, push “Withdraw BTC”.

It is generally good practice not to leave your bitcoins on Virtex or any other exchange for a very long period of time as your bitcoins are actually in Virtex’s own bitcoin wallet. Therefore, should Virtex’s bitcoin wallet be compromised somehow, you may lose all of your bitcoins. This has actually happened various times at other exchanges or payment processors. We’re not saying that Virtex is not secure, we’re just saying that other larger exchanges have been compromised in the past.

“In July 2011, The operator of Bitomat, the third largest Bitcoin exchange, announced that he lost access to his wallet.dat file with about 17,000 BitCoins (roughly equivalent to 220,000 USD at that time). He announced that he would sell the service for the missing amount, aiming to use funds from the sale to refund his customers.

In August 2011, MyBitcoin, one of popular Bitcoin transaction processors, declared that it was hacked, which resulted in it being shut down, with paying 49% on customer deposits, leaving more than 78,000 BitCoins (roughly equivalent to 800,000 USD at that time) unaccounted for.

In early August 2012, a lawsuit was filed in San Francisco court against Bitcoinica, claiming about 460,000 USD from the company. Bitcoinica was hacked twice in 2012, which led to allegations of neglecting the safety of customers’ money and cheating them out of withdrawal requests.

In late August 2012, Bitcoin Savings and Trust was shut down by the owner, allegedly leaving around $5.6 million in debts; this led to allegations of the operation being a Ponzi scheme. In September 2012, it was reported that U.S. Securities and Exchange Commission has started an investigation on the case.

In September 2012, Bitfloor Bitcoin exchange also reported being hacked, with 24,000 BitCoins (roughly equivalent to 250,000 USD) stolen. As a result, Bitfloor suspended operations. The same month, Bitfloor resumed operations, with its founder saying that he reported the theft to FBI, and that he is planning to repay the victims, though the time frame for such repayment is unclear.” (wikipedia.com

 Step 6: The waiting game

It may take a few minutes for the bitcoins transfer to hit your wallet. If you would like a status update, go hereand enter in your bitcoin address. You can read more about this here. Once the bitcoins arrive in your wallet, it should look something like below. Please note that you cannot spend your bitcoins for about 10 minutes. This is the average time it takes to confirm the transaction in order to ensure that the payment is irreversible and that you’re not trying to double spend your bitcoins. This waiting time is normal. If you would like to know more about this, read this.

Congratulations! You have now successfully purchased bitcoins and transferred them to your own bitcoin wallet. You are now part of the bitcoin revolution. Should you have any questions, corrections or suggestions, please feel free to leave a comment.

Create a free website or blog at WordPress.com.