When i try to get server i have this warning:
Show less
Hey @johantri, generally speaking youâll want to run boringproxy on a computer that has a public IP address. If youâre running this from home, that typically means you need to set up port forwarding from your router. If youâre behind a CGNAT, or your ISP blocks ports 80/443, then port forwarding wonât work and youâll probably need to set up a VPN or tunneling. This sort of situation is actually what boringproxy is designed for, except typically you would run it on a cloud VPS such as DigitalOcean and tunnel to other services running inside your private network.
If youâre not familiar with most of these terms, youâll probably have a lot to learn to get up and running. But thereâs nothing wrong with that if youâre interested in figuring it out! Happy to help you get started.
If you donât want to dive in the deep end just yet, Iâd recommend giving Cloudflare Tunnel a try. Itâs similar to boringproxy, but Cloudflare manages most of the complexity for you.
Iâm hoping TakingNames.io will eventually be a good alternative, but itâs not there yet. Also it wonât be free like Cloudflare Tunnel, though it will be end-to-end encrypted if thatâs important to you.
If you decide to use Cloudflare Tunnel with a domain youâve purchased from TakingNames.io, shoot an email to support@takingnames.io. Changing DNS servers still has to be done manually at the moment.
Hi Anders,
Iâm also having the same issue, while trying to setup the server on an Oracle Cloud VPS.
Despite being able to run a python http server via the same public IP address (and also via port 80) of my VPS instance.
FYI Iâm using boringproxy â0.9.1 Betaâ.
My Oracle Cloud Instance is using âOracle-Linux-8.5-2022.01.24-0â image, âVM Standard.E2.1.Microâ shape.
Any help appreciated
Hey @XxniperX, thanks for the report. Do you happen to know whether itâs using IPv6 or not? Sometimes you need to open IPv6 ports separately from IPv4. At least thatâs the way my ISP (Google Fiber) does it.
Thanks @anders for the reply.
I donât have IPv6 enabled.
Will give it a try.
Actually leaving IPv6 disabled would probably be easier to debug. I was thinking if itâs enabled that could cause problems.
Can you try running Caddy on the VM and see if its auto-HTTPS work correctly?
Thanks for the reply @anders,
Iâll give Caddy a try, but probably after a break.
Will update you once Iâm done.
Using a working cPanel with many web sites for many years. It fails.
[dougk@server ~]$ ./boringproxy-linux-x86_64 server
2022/06/13 02:44:18 Starting up
WARNING: Failed to access redact from the internet
WARNING: Failed to access eredaxt from the internet
No admin domain set. Select an option below:
Enter â1â to input manually
Enter â2â to configure through TakingNames.io
So I made a subdomain manually and see that I have valid SSL certificates with cPanel. And I can access it on 80 and 443. So I can connect to the sub directory of /home/myusername/public_html/bpserver directory with ./boringproxy-linux-x86_64 in it.
But I still get
./boringproxy-linux-x86_64 server
2022/06/13 22:43:18 Starting up
WARNING: Failed to access redact:80 from the internet
WARNING: Failed to access redact:443 from the internet
But when I make the admin domain set to bpserver i get this message
Enter admin domain:
bpserver.yyyyyy.xxxxxx
2022/06/13 22:43:58 bpserver.yyyyy.xxxx: obtaining certificate: [bpserver.yyyyy.xxxx] Obtain: [bpserver.yyyyyy.xxxx] solving challenges: bpserver.yyyy.xxxxx: no solvers available for remaining challenges (configured=[http-01 tls-alpn-01] offered=[http-01 dns-01 tls-alpn-01] remaining=[dns-01]) (order=https://acme-v02.api.letsencrypt.org/acme/order/586600566/97383089886) (ca=https://acme-v02.api.letsencrypt.org/directory)
Which is no surprise as I already have a SSL setup. If only we can move on and get the admin login allowed, along with the token as it dies nowâŚI find no âloginâ code in the bpserver directory. I do find a boringproxy_db.json file with blank values.
Hi @DougK, Iâll need more details about what exactly your setup looks like and what role youâre wanting boringproxy to fill. If you can start a new thread with these details we can move the discussion there.
I have done that as asked.