Skip to content

Tcp port forwarding with ssl #4207

Closed Answered by shalafi99
MinitorMHS asked this question in Q&A
Discussion options

You must be logged in to vote

You would use a stream host only for non http/https traffic, as far as I know.
(That's why I began mentioning the protocol in use is more relevant)

A couple of examples I have in my environment:

--> traffic forwarded to a host running https on TCP 8443


--> traffic forwarded to the NPM container's own web gui port, http on TCP 81
(upon posting, realized websockets should not be turned on here, gone now)

For both, it might as well have been TCP 3000 instead of what is now (in case I changed the service's port to that)

When we think just TCP it's the Transport Layer (OSI Layer4), but when we add to that the knowledge it's http/https we have the Application Layer (OSI Layer7) thrown into th…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@MinitorMHS
Comment options

@shalafi99
Comment options

@MinitorMHS
Comment options

@shalafi99
Comment options

Answer selected by MinitorMHS
@MinitorMHS
Comment options

@shalafi99
Comment options

@MinitorMHS
Comment options

@MinitorMHS
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants