Skip to Content

blog post

Windows 10 – Start Menu Cortana Search Results Not Clickable

Does clicking on your start menu search results do nothing? Have you updated/removed Windows language packs recently?

This may solve your problem:






Good luck!

blog post

CentOS – Check Startup Services

To see which services are started up on boot, run the following:

chkconfig --list
systemctl list-unit-files
blog post

OpenVPN Listen on Port 443 (HTTPS)

The default port and protocol for OpenVPN is UDP/1194.
Some server admins may block port 1194 so to get around this we can set OpenVPN to listen on port 443 instead. Port 443 is the default for HTTPS traffic so there is little chance it will be blocked.

To install OpenVPN on CentOS I recommend using this guide:

If you are running a web server, the chances are nginx/apache is already listening on port 443 and we can’t have more than one application binding to the same port. Once solution is to get nginx/apache to listen for HTTPS traffic on another port (e.g 22443) and get OpenVPN to listen on port 443 (forwarding all traffic to the port 22443).

First change the listen port for your web server (apache):

sudo vi /etc/httpd/conf/httpd.conf

Modify mod_ssl (you can choose any un-used port number):

</IfModule mod_ssl.c>
Listen 22443

Check if port 443 is used in other config files and replace accordingly:

sudo grep '443' -r /etc/httpd/*

Modify OpenVPN server.conf:

sudo vi /etc/openvpn/server.conf

Change protocol to tcp, port 1194 to 443 and add a port-share for 22443 (your new web server port for HTTPS)

proto tcp
port 443
port-share 10443

You will also have to change your ovpn config file to use the new settings:

dev tun
proto tcp
remote your_server_ip 443
resolv-retry infinite
verb 3
ca /path/to/ca.crt
cert /path/to/client.crt
key /path/to/client.key

Finally restart your web server and OpenVPN services:

sudo systemctl restart openvpn@server.service
sudo systemctl restart httpd
blog post

SSL Certificate Installed

The connection to this site is using a valid, trusted server certificate (sha256RSA encrypted).

Let’s Encrypt is a new Certificate Authority: It’s free, automated, and open.

blog post

Chungking Express


blog post

Happy New Year 2016

This year I have many important goals…

blog post

Edinburgh by the Night

2015-09-15 20.16.53-1

blog post

How to Un-ban an IP Blocked by Fail2Ban

When an IP is banned by Fail2Ban and you want to un-ban that IP, the command you need to run is:

sudo fail2ban-client set <jailname> unbanip ipaddress

You can get the jailname by running:

sudo fail2ban-client status

If you want to find what IPs are banned by Fail2Ban, you can check the IPTABLES by running:

sudo iptables -L -n

An example output would be:

Chain f2b-sshd (1 references)
target     prot opt source               destination
REJECT     all  --            reject-with icmp-p  ort-unreachable(1 references

To unban IP from the sshd jail, the command would be:

sudo fail2ban-client set sshd unbanip
1 2 3 4 5 6 7 8 9 10 ... 21 22   Next Page »