Hannsr
CCoder.com
•Created by Hannsr on 1/3/2023 in #help
No Coder Logs
Taking this over from general.
What I want to do: Monitor Coder Web Logins with fail2ban just to be sure, but I can't find the logs anywhere.
System: Debian Bullseye, Coder running as Systemd Service.
Nothing else is running on the system despite what's neccessary for coder itself and standard system tools like ssh server.
Running
returns nothing.
Dropping the -f at least brings up something:
But that is all. I also checked syslog, auth.log and systemctl status of coder, but theres nothing there as well.
20 replies
CCoder.com
•Created by Hannsr on 1/2/2023 in #help
Port ForwardingSSL issues
Hey everyone,
I just ran into an issue with port forwarding using the coder WebUI. When I try to open a website using port forwarding on port 443 I only get - Apparently it always uses http instead of https?
I also tried to use the CLI port forward, but of course this leads to an SSL error as the domain names don't match.
Basically what I want is to access the website that is being developed inside the workspace with https, not http.
Probably again me being blind to an obvious solution 😄
Thanks in advance!
8 replies
CCoder.com
•Created by Hannsr on 12/21/2022 in #help
Coder behind Reverse Proxy and Port Forwarding
Good evening everyone, just a quick question since I'm kinda Stuck: Does Coder Server need any open Ports besides 443 by default? 80 should only be used for Let's Encrypt but since I'm using DNS Challenge it shouldn't matter. Or am I missing something?
To clarify, my current setup is as follows:
Router with Port Forwarding -> Reverse Proxy -> Coder Server
I'm forwarding port 443 currently but I either get certificate errors or bad Gateway. According to my browser the certificate is issued by localhost in case of a certificate error.
Caddy Logs show it has succesfully generated new certificates for the domain and wildcard subdomain.
Bad Gateway usually happens when I try to generate the certificate on my reverse proxy already, while a straight passthrough gives me the cert error. Probably because it's forwarding using http instead?
Hope somebody has an Idea.
129 replies
CCoder.com
•Created by Hannsr on 12/9/2022 in #help
Jetbrains Gateway connection
Hey everyone,
trying to setup Gateway to connect to a workspace for further testing, but I'm not sure if I'm missing something here. According to the docs I have to enter the Host like on the coder server itself (e.g. coder.workspace-name) but that hostname won't be resolved since Gateway is not running on the same machine as coder itself. Do I have to run a SSH Tunnel to the server running coder or what am I missing here? Thanks!
42 replies
CCoder.com
•Created by Hannsr on 12/7/2022 in #help
Default User without sudo access
Hey all,
so we want to limit the Devs abilities within the workspace so they don't have sudo access except for certain tools they should be able to control.
I'm using the docker template and
enterprise-base:ubuntu
as base for my dockerfile.
I tried manipulating the user via sudoers file(s) to no avail. So I'm not sure about where to go next. Thanks!21 replies