


Opțional, setați de utilizator și parola pentru a avea acces la anumite funcții, precum și schimbarea portul pe care ruleaza serverul web încorporat.










sudo nano / etc / ppp / chap-secrets
Pentru clienții, am folosit apoi un interval de 192.168.244.2-9.
and_username1 pptpd and_password1 192.168.244.4
În al doilea rând, podredaktiruem fișier / etc / ppp / pptpd-opțiuni:
sudo nano / etc / ppp / pptpd-opțiuni

Reporniți pptpd nostru:
sudo serviciu pptpd repornire




sudo iptables -t nat -A PREROUTING -p tcp --dport 8080 eth0 -i -j DNAT --to-destinație 192.168.244.4:8080
sudo iptables -A FORWARD eth0 -d 192.168.244.4 -I -p tcp --dport 8080 -j ACCEPT
sudo nano /etc/rc.local
În cele din urmă, în consola AWS în grupuri de securitate secțiunea pe care doriți să deschideți TCP-port pentru acces.

Consimțământul la prelucrarea datelor cu caracter personal