not logged in | [Login]


Helpful Commands

Check if a parity operation is in-progress

grep mdResync= /proc/mdcmd

Check the status of a parity operation. Wait for % complete is mdResyncPos/mdResyncSize.

/root/mdcmd status | egrep "mdResync|mdState|sbSync"

Helpful links

Raw setup notes

Create a share
	Name: vpn
	make it private. Only your user above can read it
        Download your VPN certs
        Copy the following into that share: ca.crt, <user>.crt, <user>.key, ta.key, and one of the ovpn file you want to use. Rename the ovpn file to vpn.conf
        edit your config file, and put the full path where it references the certs. /vpn/ca.crt, etc

Install a plugin
	Go to plugins -> install plugin
	Paste this:
	install it

Install dockergui
	go to the apps tab
	search for "dockergui" and install it. 
	on the next screen, use all the defaults
        Test that you can log into that and reach the internet

Create the VPN container
	go back to the docker tab, add container
	create the VPN container
		Name: vpn
		Repository: dperson/openvpn-client
		Privileged: on
		Path: /mnt/user/vpn/ -> Container Path: /vpn
		Container Device: /dev/net/tun
		Variable: name: FIREWALL, value: true
	Go to the docker tab. Last column on the right, look at the logs, make sure things are OK. SHould say "Initialization Sequence Completed". May take 5 minutes.

Go back to the docker tab
	edit "Dockergui-dev"
	make it use the "vpn" by going to the advanced view and put this in extra parameters:  --net="container:vpn"
	Set network type to "none"
now you'll need a proxy so you can access the "Dockergui-dev" from your local network
	go add a new container
		name: proxy-dockergui
		Repository: dperson/nginx
		Extra Parameters: --link vpn:dockergui-dev -p 8080:80
			Name: PROXY
			Key: PROXY
			Value: http://Dockergui-dev:8080/;/