Skip to content

Instantly share code, notes, and snippets.

View GerbenAaltink's full-sized avatar

Gerben Aaltink GerbenAaltink

View GitHub Profile
@GerbenAaltink
GerbenAaltink / gist:358f2db0ee30da008d2403323214567f
Created March 24, 2024 09:06
SSH HTTPS Port forwarding python3 asyncio selectors security
# 2024-03-24 Gerben Aaltink
# Application for hosting both HTTPS and SSH on port 443
# Benefits:
# - port 443 is allowed in any network
# - port hiding for hackers
import asyncio
LISTEN_PORT = 443
LISTEN_HOST = '0.0.0.0'