zero trust tunnel broke

my zerotrust tunnel broke after rebooting i had it running in docker and now cant make it work again...
11 Replies
Cyb3r-Jak3
Cyb3r-Jak37mo ago
What are the logs from the tunnel?
czychuuu
czychuuuOP7mo ago
how do i check them?
Cyb3r-Jak3
Cyb3r-Jak37mo ago
If running in docker then docker logs <container name>
czychuuu
czychuuuOP7mo ago
this is the latest entry from the log
2024-05-19T20:20:52Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp x:443: connect: no route to host" connIndex=3 dest=https://x/api/remote/servers?page=0&per_page=50 event=0 ip=x type=http
2024-05-19T20:20:52Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp x:443: connect: no route to host" connIndex=3 dest=https://x/api/remote/servers?page=0&per_page=50 event=0 ip=x type=http
and the website has 502 bad gateway
Cyb3r-Jak3
Cyb3r-Jak37mo ago
The service that your tunnel is pointing to isn't route able from the cloudflared container.
czychuuu
czychuuuOP7mo ago
how can i fix this??
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
iptables --flush
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
iptables --flush
fixed everything ...
Cyb3r-Jak3
Cyb3r-Jak37mo ago
Make sure to do iptables-save to save the config on restart
czychuuu
czychuuuOP7mo ago
ive got another problem... The required authorization heads were not present in the request this time with phpmyadmin any idea how can i fix this?
Cyb3r-Jak3
Cyb3r-Jak37mo ago
That looks like a phpmyadmin issue. Maybe try an incognito window?
czychuuu
czychuuuOP7mo ago
its not phpmyadmin issue i can access it from by typing machine ip in my browser
Cyb3r-Jak3
Cyb3r-Jak37mo ago
I mean the error is from phpmyadmin. Maybe the headers aren’t being set correctly by it for the domain.
Want results from more Discord servers?
Add your server