Setting up VPN PPTP server and connecting to it
Following this link:
http://www.dikant.de/2010/10/08/setting-up-a-vpn-server-on-amazon-ec2/
Set up security group with icmp, tcp, udpc set to 0.0.0.0/0 and full IP range.
sudo aptitude install pptpd
/etc/pptpd.conf
:
localip 192.168.240.1 remoteip 192.168.240.2-9
/etc/ppp/pptpd-options
ms-dns 8.8.8.8 ms-dns 8.8.4.4
echo "USERNAME pptpd PASSWORD *" | sudo tee -a /etc/ppp/chap-secrets
/etc/sysctl.conf
net.ipv4.ip_forward=1
sudo sysctl -p
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/etc/rc.local
:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Setting up client on Ubuntu
gnome-control-center
Video connecting from Ubuntu
http://www.youtube.com/watch?v=YUgSpKFhuqg
IMPORTANT: Deselect "Share with all users", click "Use Point-to-Point" encryption (MPPE).
SSH to EC2 instance
ssh -i .ssh/mykey.pem root@[AWS_public_hostname]
Running Redmine
- http://krewenki.github.com/2011/05/deploying-redmine-on-amazon-ec2/
- http://www.morninj.com/2012/01/deploy-redmine-in-five-minutes-on-amazon-ec2/
Backing up EC2 to S3
- http://www.idyllic-software.com/blog/ec2-backup-strategy-on-s3-ubuntu/
- http://cloudbuzz.wordpress.com/2009/11/23/redmine-database-backup-to-s3-periodically/
Setting ups Git
- http://shirtdev.wordpress.com/2011/05/04/setting-up-a-git-repository-on-an-amazon-ec2-instance/