-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Traefik 3.0 #908
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
Comments
Traefik can proxy TCP/IP traffic, so I believe the answer is yes. |
Ah so I would just proxy the ports as TCP traffic? and input the FQDN as the relay when transferring? |
Managed to come up with this but not totally sure if I set this up correctly. Would love community input here! |
I have opened #916 to document and share the solution which worked for me |
This did not work for me. Are you sure traffic is going through the relay and not locally? I have the sending local machine completely firewalled and the receiving one failed to establish the connection. To test: send with @schollz is it possible to use a single port on the relay -- the one that's also a base port? When I start the relay with [debug] 06:43:55 comm.go:83: comm.NewConnection failed: dial tcp: lookup tcp/ok: unknown port
[debug] 06:43:55 tcp.go:493: comm.NewConnection failed: dial tcp: lookup tcp/ok: unknown port
panic: comm.NewConnection failed: dial tcp: lookup tcp/ok: unknown port
goroutine 37 [running]:
github.com/schollz/croc/v10/src/croc.(*Client).processMessagePake.func1(0x0)
github.com/schollz/croc/v10/src/croc/croc.go:1461 +0x4ad
created by github.com/schollz/croc/v10/src/croc.(*Client).processMessagePake in goroutine 19
github.com/schollz/croc/v10/src/croc/croc.go:1441 +0x745 The only way I could make it work was adding an additional port with port-forwarding directly on the container: ports:
- 9012:9012 which will make traffic run not through traefik proxy, and then running the relay with: |
The magic bytes error you got on the pull request I am pretty sure I have encountered somewhere before? I will say it did work for me however you very well could have noticed an error I haven't. Did taking out the TLS part and just using lets encrypt fix your issues? @vaygr |
@OisinHick the comment here and in the PR are different and target different issues. The comment in the PR is about TLS, which I don't think will ever work regardless of the certificate vendor. The comment here is talking about the error that I see when I use just one (base) port. I mentioned the |
Hey @vaygr I cant access the machine I originally did my testing on right now so please let me test this and see what happens. At the time when I had tested it worked ok but obviously I have missed something! Let me come back to asap and I will let you know. Really appreciate your help and collaboration on fleshing this out. |
Uh oh!
There was an error while loading. Please reload this page.
Hey All,
First off to the maintainer: thanks for your hard work - love this tool.
Is this project's docker relay compatible with traefik 3 reverse proxy?
If so, I would love any direction/ideas as to how this can be implemented. Hopefully it can help me or anyone else at a later date!
The text was updated successfully, but these errors were encountered: