I’ve installed Syncthing in a FreeBSD’s jail and would like to keep access to the admin web page only for the local net (192.168.1.0/24).
In the jail, Syncthing is set to only listen to localhost:
<address>127.0.0.23:8384</address>
The host has packet redirection to the above address and port from the local network.
As I was getting a “Host check error”, I’ve dug the the FAQ
and it says that this problem can be solved by intermediating a proxy in between the http request and Syncthing.
Tried with Tinyproxy, (AddHeader "Host" "localhost"
), but the host remained set to the IP of the base system, a 192.168.1.253.
So, my questions:
- What is the right way to do this using Tinyproxy?
Or
- What other proxy can I configure? I’d like to have the simplest possible, but if I have to use nginx, so be it.
3 posts - 2 participants