deTour is a small proxy server which redirects.
Source : https://github.com/pulsiot/detour
deTour uses two configuration files:
config.yaml
file to read the config parameters.routes.yaml
file to read the routes mappings.
Please note that the program assumes you have the necessary config.yaml, routes.yaml, server.crt, and server.key files.
openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.crt -sha256 -days 3650 -nodes -subj "/C=IN/ST=Kerala/L=Kochi/O=Detour/OU=DetourProxy/CN=localhost"
Or
openssl req -x509 -new -newkey rsa:4096 -sha256 -days 3650 -nodes -out server.crt -keyout server.key