herenow / wsProxy

A websocket to tcp proxy, written in node.js, ment for roBrowser users, but can be used for other purposes.
GNU General Public License v2.0
48 stars 42 forks source link

Enable setting allowed IPs in command line #2

Closed trojal closed 9 years ago

trojal commented 9 years ago

When using npm install wsproxy, we are not compiling from source. It's unclear how to edit allowed.js to specify the destination IPs with this method.

It would be nice to be able to set the allowed IP list via command line when starting wsproxy.

herenow commented 9 years ago

I'll get on this asap :)

herenow commented 9 years ago

I've added an adhoc solution for now, it's it no way ideal, but it seems to work :)

As soon as I have more time I plan on refactoring this code, actually I would like to refactor the entire wsProxy code, if roBrowser lives on.