From 06156d0523a9ced304ded9a9f1552c306e10bcbd Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 4 Dec 2012 14:44:23 +0100 Subject: add change domain instructions --- new_domain.page | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 new_domain.page diff --git a/new_domain.page b/new_domain.page new file mode 100644 index 0000000..9db7da9 --- /dev/null +++ b/new_domain.page @@ -0,0 +1,50 @@ + +2600:3c03:e001:1301::/64 -> woods +2600:3c03:e001:1302::/64 -> ttt +2600:3c03:e001:1305::/64 -> haip +2600:3c03:e001:1306::/64 -> kika + +add DNS entries: + A .rooter.is -> rooter.is + AAAA .rooter.is -> ::1 + CNAME *..rooter.is -> .rooter.is + +setup openvpn server: + cd /etc/openvpn/easy-rsa/2.0/ + sudo su + . vars + . build-key + . build-dh + cp keys/.{crt,key} + +setup openvpn client: + scp : /etc/openvpn + vi /etc/openvpn/client.conf + cert /etc/openvpn/.crt + key /etc/openvpn/.key + +setup IPv4 HTTP proxying on rooter.is: + sudo vim /etc/nginx/sites-enabled/vpns + [copy an existing section, add server names, update proxy address] + sudo /etc/init.d/nginx reload + +edit rooter lxc configurations: + vi /data/wheezy/rootfs/etc/nginx/sites-enabled/hosts + append to all server_names + vi /data/pub/www/index.html + [restart nginx in wheezy vm, or just restart entire rooter later] + +edit rooter configuration: + vi /etc/config/network + option ip6addr '2600:3c03:e001:1306::1/64' + vi /etc/config/radvd + list prefix '2600:3c03:e001:1306::/64' + vi /etc/config/dhcp + option local '/kika.rooter.is/' + vi /etc/config/wireless + option ssid 'kika.rooter.is' + vi /etc/hosts + 2600:3c03:e001:13??::1 .rooter.is + vi /etc/banner + # easiest to just reboot at this point + -- cgit v1.2.3