tunneller | Allow internal services , running on localhost , to be | Proxy library
kandi X-RAY | tunneller Summary
kandi X-RAY | tunneller Summary
Assuming you have a service running within your local network, perhaps a HTTP server you could access via you can expose that to the public-internet by running:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tunneller
tunneller Key Features
tunneller Examples and Code Snippets
Community Discussions
Trending Discussions on tunneller
QUESTION
I am trying to implement reverse SOCKS5 according to RFC1928. I have a relay server which runs passively waiting for connections from the SOCKS5 client which acts a proxy, and the the client which wants to use the tunnel.
Legend
Server (10.211.55.6) = Relay = PC 1 (send/recv)
Client_1 (10.211.55.10) = Proxy (running on another PC in my network)
Client_2 (10.211.55.8) = Tunneller (connecting from MaxThon Browser (since it allows SOCKS5 authentication))
Execution flow
- Client_1 connects to Server on port 9444
- Server finds an unused port and binds to it (lets say port 13451 is opened)
- Client_2 connect to Server on port 13451
- Server accepts the connection and now relays the traffic between Client_1 and Client_2
- Client_2 sends the SOCKS5 protocol (according to RFC1928) requests to Client_1 relayed through Server
- Client_1 authenticates and gets a CONNECT command to
https://dnsleaktest.com
and sends back astatus_ok
response - The packets from the webpage are received, and the webpage is loaded
Problem
- Client_2 wants to connect to another webpage (lets take
https://packetstormsecurity.com
for example).
Question
Client_1 only receives a few packets from Client_2 such as \x17\x3\x3
or \x17\x3\x3\x1
(what do these bytes represent?). Does Client_1 have to go through the SOCKS5 authentication again, or how would it process the request to the new webpage?
Side Notes
A) After a while, the page that Client_2 requested from Client_1 returns ERR_TIMED_OUT
in the browser, since Client_2 didn't get any response. But if its expecting a response, then its also assuming that I know how to parse the bytes that it sends, but I don't know what they are as I haven't seen them in the RFC1928 documentation.
ANSWER
Answered 2018-Mar-29 at 21:07Client_1 only receives a few packets from Client_2 such as \x17\x3\x3 or \x17\x3\x3\x1 (what do these bytes represent?).
Client_2 is requesting tunnels to HTTPS hosts. What you are seeing are TLS 1.2 packets between Client_2 and the HTTPS server, after the SOCKS tunnel to the HTTPS server has been established:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tunneller
If you’re using go before 1.11 then the following command should fetch/update tunneller, and install it upon your system:.
If you’re using a more recent version of go (which is highly recommended), you need to clone to a directory which is not present upon your GOPATH:. If you don’t have a golang environment setup you should be able to download a binary for GNU/Linux from [our release page](https://github.com/skx/tunneller/releases).
If you wish to host your own central-server this is how to do it:. Of course security is important, so you should ensure that your message-bus is only reachable by clients you trust to expose their services. (i.e. Your VPN and office range(s).).
Create a DNS-entry tunnel.example.com, pointing to your host.
Create a wildcard DNS entry for *.tunnel.example.com to point to the same host.
Setup and configure [mosquitto queue](https://mosquitto.org/) running on that same host.
See [mq/](mq/) for details there.
Don’t forget to ensure that the MQ-service is publicly visible, by opening a firewall hole for port 1883 if required.
This repository is configured to run tests upon every commit, and when pull-requests are created/updated. The testing is carried out via [.github/run-tests.sh](.github/run-tests.sh) which is used by the [github-action-tester](https://github.com/skx/github-action-tester) action. Releases are automated in a similar fashion via [.github/build](.github/build), and the [github-action-publish-binaries](https://github.com/skx/github-action-publish-binaries) action.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page