Monday, May 29, 2017

Open VPN - A Pain in the bum~

Yes.. Open VPN can be a pain in the backside for those who do not have technical knowledge.
Prior to this.. I used the OpenVPN AS version on a Linux Ubuntu 16 via Google Cloud Compute. Many things work if you just want a Single User ie Device to connect but if you are a bugger like me who program the OpenVPN client in Merlin interface, aiyayah.. It's a real bother.

First off, Open VPN AS works for Devices only.
If you using a frigging router.. then UR screwed.

U will need many tools.. like a way to SIGN YOUR OWN CERTS
I played cheat.. and installed Windows 2008 Server and used it as my signing certificate.

Sunday, May 21, 2017

Removing yourself from SPAM

Spam... it's a killer...
I use Google Mail as authentication and GMAIL Access..
No doubt it is a simple as that.. but on the DNS.. I forgot to add the TXT CODE to deter spam from originated or spoofed from my domain..

So I had to put into place a long line of SPF Records to ensure emails from my domains are not sent out other than being via GMAIL...  IN TXT "v=spf1 mx a ip4:2404:6800::/32 ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: a:* a:*"

Darn Long rite?? 
What it means is.. for AZRIN.INFO Allow only Emails sent from SPF Records originating from (Google IP Addresses... so many") and allow emails sent from domains of GMAIL.COM and GAPPSSMTP.COM ... it's Google Apps SMTP Server btw...
Anything else... NO Way.. just delete and bounce.

Good luck to my users using outlook.

Wednesday, May 3, 2017

Dummies Guide to Google Cloud Compute Mining

Google cloud has various services , one thing I was quite happy about it is that you can easily scale the services without paying much through the nose.

In the typical world, Ubuntu Server 16.04LTS installation takes about 35-70mins, depending on your internet connection but with the rapid deployment, it takes a few mins.

Typically, what you will need is Google Cloud Compute account which everyone is given $300 to try out, so you are never out of pocket. Some sites and even if you are an incubator, they give out $10,000 in credits... all the better.

Now, what to do.

Setup your account. You will need a debit or credit card to verify your identification.
Once that set up, go and check your quota limits. It's under Compute Engine > Quota Tab.
Note the CPU Limit per Region.

Now, create a Ubuntu Linux Engine, using the Max CPU Allowed (customise) and less RAM. Usually for a full account is 24vCPU per region.
50GB HDD will do fine.

Once it is setup , you are almost done.
Follow my instructions on how to install the Eth Coin wallet and miner.
I will strongly suggest you install GETH in your LOCAL PC as that is the wallet you will need to mine your coins to.

If you are too darn lazy.. copy these instructions (cut and paste works) into your SSH terminal.

sudo apt-get clean 
sudo add-apt-repository -y ppa:ethereum/ethereum-qt 
sudo add-apt-repository -y ppa:ethereum/ethereum 
sudo apt-get update 
sudo apt-get install cpp-ethereum

once it's all done, you are good!

Try this command to see if it works

ethminer -F

it will take 20mins to first time download the DAG or Dagger file up...something like the blockchain. Replace my 0x162 address after 30 mins 

Then it will run.

When it's all done.. go to to check on your miner. The miner address is the address you specified. 

It will shut down!

now... U need to make a clone of the disks to make the ultimate array.
One 24Core is nothing when U can run 5 x 24 cores. Yes..yr money will finish quickly...but worth it