OSI Reference Model
Layer | Function | Examples |
---|---|---|
Application | High-level APIs, including resource sharing, remote file access | HTTP, WebSocket |
Presentation | Translation of data between a networking service and an application; including character encoding, data compression and encryption/decryption | MIME, SSL, TLS |
Session | Managing communication sessions, i.e., continuous exchange of information in the form of multiple back-and-forth transmissions between two nodes | SOCKS |
Transport | Reliable transmission of data segments between points on a network, including segmentation, acknowledgement and multiplexing | TCP, UDP |
Network | Structuring and managing a multi-node network, including addressing, routing and traffic control | IP |
Data Link | Reliable transmission of data frames between two nodes connected by a physical layer | Token Ring |
Physical | Transmission and reception of raw bit streams over a physical medium | RJ45(8P8C) |
Source: Wikipedia
Exercise
Install a Apache Webserver. The Configurations should be seperated in a custom file with the name innovate_webserv.conf
. The server should have reverse proxy functionality. Pay attention to security.
Solution
-
Install Apache Distribution XAMPP Download
Needed Components:
- Apache
- Tomcat
Include conf/extra/innovate_webserv.conf
Apache Documentation: Reverse Proxy Guide
Required Modules:
mod_proxy
mod_proxy_hcheck
mod_proxy_http
mod_ssl
ProxyRequests Off
SSLProxyEngine On
SSLProxyCheckPeerExpire off
ProxyPass "/test" "https://localhost/dashboard/"
ProxyPassReverse "/test" "https://localhost/dashboard/"