This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
from dataclasses import dataclass | |
_help_text="""VPN over SSH port forward helper. It generates opts for ssh binary. | |
Usage1: {sys.argv[0]} -L hostA port1 port2 -R hostB port3 | |
Usage2 - ssh to bastionA to gain "direct" access to hostA ports 8080 and 8443 |
OlderNewer