@altronix/tls-terminate
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

USAGE

Terminate encrypted traffic from port 33248 and forward to port 33247. Terminate plain text traffic from port 33247 and forward and encrypt traffic to port 33248

import {listen} from "@altronix/tls-terminate"

(async () => {
  listen({
    cert: await fs.readFile("./path/to/cert"),
    key: await fs.readFile("./path/to/key"),
    tcp: 33247,
    tcps: 33248
  })
})()

Readme

Keywords

none

Package Sidebar

Install

npm i @altronix/tls-terminate

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

5.05 kB

Total Files

7

Last publish

Collaborators

  • richardlevano
  • thomas.chiantia