Skip to content
Snippets Groups Projects
Commit 85f8573a authored by paulmer's avatar paulmer
Browse files

Archivo configuración intermediarios

parent 7ed90843
No related branches found
No related tags found
No related merge requests found
root@inter-0x:/home/usuario# apt update
root@inter-0x:/home/usuario# git clone https://gitlab.inf.uva.es/paulmer/tfg.git
root@inter-0x:/home/usuario# apt install socat
root@inter-0x:/home/usuario# apt install wireshark
root@inter-0x:/home/usuario# apt install squid
root@inter-0x:/home/usuario# rm /etc/squid/
root@inter-0x:/home/usuario# cp ./tfg/Squid/squid.conf /etc/squid/
root@inter-0x:/home/usuario# systemctl restart squid
root@inter-0x:/home/usuario# apt install proxychains
root@inter-0x:/home/usuario# rm /etc/proxychains.conf
root@inter-0x:/home/usuario# cp ./tfg/proxychains/proxychains.conf /etc/
root@inter-0x:/home/usuario# apt isntall apache2
root@inter-0x:/home/usuario# a2enmod ssl proxy proxy_http rewrite
root@inter-0x:/home/usuario# a2ensite default-ssl
root@inter-0x:/home/usuario# systemctl restart apache2
root@inter-0x:/home/usuario# rm /var/www/html
root@inter-0x:/home/usuario# cp ./tfg/Apache/Página/* /var/www/html/
root@inter-0x:/home/usuario# mkdir /etc/apache2/certificates
root@inter-0x:/home/usuario# openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out apache-cert.crt -keyout apache.key
root@inter-0x:/home/usuario# rm /etc/apache2/sites-available/000-defaul.conf
root@inter-0x:/home/usuario# rm /etc/apache2/sites-available/defaul-ssl.conf
root@inter-0x:/home/usuario# cp ./tfg/Apache/<máquina(11, 12, 13, o 14)>/000-defaul.conf /etc/apache2/sites-available/
root@inter-0x:/home/usuario# cp ./tfg/Apache/<máquina(11, 12, 13, o 14)>/defaul-ssl.conf /etc/apache2/sites-available/
root@inter-0x:/home/usuario# systemctl restart apache2
root@inter-0x:/home/usuario#
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment