Skip to content

Forwarder of HTTP requests, allowing translation of HTTP to HTTPS and viceversa

License

Notifications You must be signed in to change notification settings

avargaskun/HttpForward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HttpForward

Very simple service that forwards requests received on one HTTP endpoint to another. One example use of this service is exposing an HTTP endpoint for services hosted on HTTPS only, or viceversa.

Configuration

Change the following values in httpforward.exe.config to match your scenario:

<appSettings>
  <add key="listeningPrefix" value="http://+:8848/"/>
  <add key="forwardingAddress" value="https://localhost:4433"/>
  <add key="ignoreSslErrors" value="true" />
  <add key="authorization" value="user:pwd"/>
</appSettings>
  • Listening prefix: The endpoint where the process will listen at
  • Forwarding address: The base address where requests will be forwarded to
  • Ignore SSL errors: If true, errors due to SSL certificates on the forwarding address will be ignored
  • Authorization: Optional. If specified, requests that do not have an Authorization header value will get a Basic auth header with the given user and passowrd values

Setup

Copy the output files into a folder, then from an elevated command window run:

httpforward -i

You can then immediately start the service via:

net start httpforward

Credits

This project uses software libraries and programs from other authors, including:

About

Forwarder of HTTP requests, allowing translation of HTTP to HTTPS and viceversa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages