aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-prep/src/torouter_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-prep/src/torouter_config.sh')
-rw-r--r--packages/torouter-prep/src/torouter_config.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh
index e27c81e..12f7ab3 100644
--- a/packages/torouter-prep/src/torouter_config.sh
+++ b/packages/torouter-prep/src/torouter_config.sh
@@ -52,6 +52,9 @@ apt-get -y -t squeeze-backports install openntpd
# Install Tor and deps:
apt-get -y install tor tor-geoipdb
+# To build a 0.2.3.x Tor:
+# apt-get source tor=0.2.3.1-alpha-1~~squeeze+1
+# Debuild here...
# To build with natpmp support
apt-get -y -t experimental install libnatpmp-dev
@@ -95,6 +98,9 @@ cp $config_dir/dnsmasq.conf /etc/dnsmasq.conf
cp $config_dir/ntp.conf /etc/ntp.conf
cp $config_dir/openntpd-default /etc/default/openntpd
+# Configure ssh
+cp $config_dir/sshd_config /etc/ssh/sshd_config
+
# XXX We should configure ufw here
# XXX We should configure denyhosts