Secure Port Redirector is a powerful tool designed to facilitate secure communication over networks. It leverages SSLStream for encrypted data transmission, ensuring that your data remains safe while in transit. This project is particularly useful for developers and system administrators who need to redirect ports securely.
- SSL Encryption: Protects data with strong encryption.
- Port Forwarding: Easily forward traffic from one port to another.
- Remote Access: Access your applications securely from anywhere.
- Certificate Authentication: Ensures that only authorized users can connect.
- Windows Compatibility: Designed to work seamlessly on Windows systems.
To get started with Secure Port Redirector, you can download the latest release from the Releases section. Follow the instructions below to set it up on your system.
Before you begin, ensure you have the following:
- .NET Framework installed on your Windows machine.
- A valid SSL certificate for secure communication.
- Basic knowledge of networking concepts.
-
Download the latest release from the Releases section.
-
Extract the downloaded files to your desired location.
-
Open a command prompt and navigate to the extracted folder.
-
Run the application using the command:
SecurePortRedirector.exe
Secure Port Redirector requires a configuration file to operate. Below is an example configuration:
{
"sourcePort": 8080,
"destinationHost": "localhost",
"destinationPort": 80,
"sslCertificatePath": "path/to/your/certificate.pfx",
"sslCertificatePassword": "your_certificate_password"
}
- sourcePort: The port on which the application listens for incoming connections.
- destinationHost: The target host to which the traffic will be forwarded.
- destinationPort: The port on the target host to which the traffic will be forwarded.
- sslCertificatePath: The path to your SSL certificate file.
- sslCertificatePassword: The password for your SSL certificate.
Save this configuration as config.json
in the same directory as the application.
To run the Secure Port Redirector with your configuration, use the following command:
SecurePortRedirector.exe config.json
The application will start listening on the specified source port and will forward traffic securely to the destination host.
Here are a few examples of how you can use Secure Port Redirector:
-
Forwarding HTTP traffic securely:
If you want to forward HTTP traffic from port 8080 to a web server running on port 80, you can use the following configuration:
{ "sourcePort": 8080, "destinationHost": "example.com", "destinationPort": 80, "sslCertificatePath": "path/to/your/certificate.pfx", "sslCertificatePassword": "your_certificate_password" }
-
Redirecting TCP traffic:
You can also redirect TCP traffic. For instance, if you have a database running on port 5432, you can forward traffic as follows:
{ "sourcePort": 5432, "destinationHost": "database.example.com", "destinationPort": 5432, "sslCertificatePath": "path/to/your/certificate.pfx", "sslCertificatePassword": "your_certificate_password" }
When using Secure Port Redirector, keep the following security practices in mind:
- Always use strong passwords for your SSL certificates.
- Regularly update your SSL certificates to maintain security.
- Monitor your application for any unauthorized access attempts.
We welcome contributions to Secure Port Redirector! If you have suggestions or improvements, please fork the repository and submit a pull request.
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request.
Secure Port Redirector is licensed under the MIT License. See the LICENSE file for more details.
If you encounter any issues or have questions, please check the Issues section or reach out via email.
- Thanks to the contributors and users who support this project.
- Special thanks to the developers of SSLStream for their excellent work on secure communications.
Secure Port Redirector provides a simple and effective way to manage secure port forwarding. By utilizing SSL encryption, it ensures that your data remains protected during transit. For more details, visit the Releases section to download the latest version and start securing your network communications today!