cernekee / ocproxy

OpenConnect proxy
Other
370 stars 41 forks source link

add possibility of bind address for dynamic forward option #2

Closed bdx closed 9 years ago

bdx commented 9 years ago

ssh have optional bind address for dynamic forward: " -D [bind_address:]port" (from ssh manual) in ocproxy we can only specify the port: "-D, --dynfw port" (from oc proxy manual) I tried using openssh syntax with "-D 127.123.123.123:1080" but got the following error: invalid integer: '127.123.123.123:1080'

since ocproxy tries to mimic openssh syntax and features, this one would be a nice to have for people who are simultaneously connected to several vpns, tunnels etc.

bdx commented 9 years ago

Fixes work great! Much thanks!