-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple LocalForward options #119
Comments
HI @bvleur, thank you for reporing, I also prefer the option B, I need to give some tests here, I will probably have limitaions with the yaml specifications |
FWIW, this hack works in the meantime (it's ugly but it works): hosts:
myhost:
HostName: 1.2.3.4
LocalForward: "3307 127.0.0.1:3306\n LocalForward: 8080 10.1.2.3:80" |
Hi, you can now use one (string) or multiple (list) Can you give a try ? PS: I decided to implement the |
Hi, what would be the correct way to set a |
Hi @pschmitt, hosts:
aaa:
LocalForward: '*:10051:localhost:10051'
bbb:
LocalForward:
- *:10051:localhost:10051
- *:10052:localhost:10052
ccc:
LocalForward: ['*:10051:localhost:10051', '*:10052:localhost:10052'] |
I would like to open 2 TCP tunnels when connected to a single host.
Using configuration like:
is not supported and silently (!) only uses the last
LocalForward
option.It would be great if multiple forwards are accepted like (option a):
I personally would like a configuration like (option b):
(because a mapping still allows for inheritance and overriding specific keys)
The text was updated successfully, but these errors were encountered: