- Developing a Facebook App
- Developing an OAuth authentication
- Make a quick showcase for your client
Problem is, you probably want it to be your machine because you have all your development tools and IDEs, it is fast and you know it by heart. You could mount a folder using sshfs, but it is only part of the job and it may get very slow for some file editors.
The solution I came up with is to tunnel through a VPN to a public machine and let it proxy the requests back.
You will need
- A public Linux box with root access
- A domain name where you can setup a wildcard
Instructions, tested on Ubuntu 12.04
- Install apache or nginx and pptpd (you can follow this tutorial for the VPN or this one if you are using ufw)
- In you /etc/ppp/chap-secrets file, be sure to specify a fixed address for yourself (4th column)
- It must fit the IP range specified in /etc/pptpd.conf
- Ex: CNAME *.dev.lavoie.sl => server.lavoie.sl
If you have unprotected data like phpMyAdmin or other websites you are developing, they could be at risk, consider protecting them via a password or an IP restriction.