Skip to content
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

Reverse #28

Open
astateofmind01 opened this issue Aug 14, 2020 · 5 comments
Open

Reverse #28

astateofmind01 opened this issue Aug 14, 2020 · 5 comments

Comments

@astateofmind01
Copy link

Possible to be used as a reverse proxy? Or to limit what servers/ports would be accessed through the proxy?

Thanks.

@rofl0r
Copy link
Owner

rofl0r commented Aug 15, 2020

reverse proxy is a feature used by http proxies, not socks ones. or maybe i misunderstand what you want.
microsocks does not implement ACLs, so if you need to restrict access for outgoing connection, it would need to be paired with something else.

i guess the featureset you want can be found in tinyproxy though.

@astateofmind01
Copy link
Author

astateofmind01 commented Aug 15, 2020

Thanks for the answer.

Unfortunately tinyproxy is http and i need a socks proxy for a filebeat connection to a logstash.

So no ACLs in microsocks, too bad. And no reverse proxies for socks? I found one - although not entirely sure :D (rsocks) but it's python and i cannot install python on the host where i need the proxy :(

Thanks again.

@rofl0r
Copy link
Owner

rofl0r commented Aug 15, 2020

Unfortunately tinyproxy is http and i need a socks proxy for a filebeat connection to a logstash.

you can configure tinyproxy to use a socks upstream

so tinyproxy can listen on 0.0.0.0 with microsocks on 127.0.0.1 with something like

upstream socks5 127.0.0.1 alloweddomain.com
upstream none

@rofl0r
Copy link
Owner

rofl0r commented Aug 15, 2020

And no reverse proxies for socks

isn't that basically just like running "portredir" forwarding a port to another box that has the socks server software running?

@astateofmind01
Copy link
Author

astateofmind01 commented Aug 15, 2020

And no reverse proxies for socks

isn't that basically just like running "portredir" forwarding a port to another box that has the socks server software running?

Great, i think that's exactly what i need, if i don't manage to configure filbeat to work how i want i think i will use that :)

Have to test it first but should work. Thanks for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants