Got another NAT VPS from LowEndSpirit (DeepNet Solutions). Upon payment, the vps is instantly setup and active. I was also able to login via instructed SSH port; External IP : xx00
Your INTERNAL IP is 192.168.0.133, your forwarded port range is: 13300 – 13320 (13300 is pre-routed for inbound SSH connection).
1 2 3 4 5 6 7 8 9 10 |
root@ohno:~# free -m total used free shared buffers cached Mem: 128 12 115 0 0 10 -/+ buffers/cache: 1 126 Swap: 0 0 0 root@ohno:~# pstree init-+-cron |-kthreadd/2232---khelper/2232 |-rsyslogd---3*[{rsyslogd}] `-sshd---sshd---bash---pstree |
Nginx Web Server
- Run
apt-get update
thenapt-get install nginx
- Go to
/etc/nginx/sites-enabled
- Type
nano domain.com.conf
to create domain config file and edit. Paste the text below for basic config. Dont’ forget to create the folder/var/www/domain.com
.
123456789101112131415server {listen 80;server_name domain.com;root /var/www/domain.com;index index.html index.htm;client_max_body_size 32m;access_log off;error_log /var/www/domain.com/error.log;location ~ /\.ht {deny all;}} - Press
Ctrl + X then Y
to commit changes. - Restart nginx, type
service nginx restart
Reverse Proxy
https://www.deepnetsolutions.com/nat-howto.html
- Type
apt-get install curl wget -y
- Type
cd /tmp && wget public.deepnetsolutions.com/proxy.sh && sh proxy.sh
- Enter the domain & sub domain names to use.
- You’re done!