banner
RustyNail

RustyNail

coder. 【blog】https://rustynail.me 【nostr】wss://ts.relays.world/ wss://relays.world/nostr

Expose the intranet service with Peanut Shell + HTTPS (non-443 port)

Basic Requirements

    1. Public IP
    1. Peanut shell top-level domain name
    1. Public IP server

Steps

    1. Download the Peanut Shell client on the public IP server and start it. When the top-level domain name is resolved to this server, apply for an HTTPS certificate. Peanut shell does not support DNS validation, so file validation is required. Place the validation file provided by the service operator. After successful validation, obtain the signature.
    1. Configure the signature and domain name in the local Nginx, turn off the Peanut Shell client on the public server, open DDNS on the local router, or start the local Peanut Shell client.
    1. The local Nginx uses a non-443 port, then NAT maps out, for example, local 1443, mapped to 1443 (to avoid unnecessary complications, it's best to use the same port).

Without any issues, accessing https://domain.xxx:1443 should be able to proxy in.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.