Hi Friends,
I am trying to set up a webtunnel bridge on OpenBSD 7.5 for the first time. After working through the instructions, I finally start the tor daemon and get this error:
Tor[2517]: The IPv4 ORPort address 127.0.0.1 does not match the descriptor address [redacted-ip]. If you have a static public IPv4 address, use 'Address <IPv4>' and 'OutboundBindAddress <IPv4>'. If you are behind a NAT, use two ORPort lines: 'ORPort <PublicPort> NoListen' and 'ORPort <InternalPort> NoAdvertise'.
But the bridge seems to work. I tried connecting to it using the template bridge line from https://community.torproject.org/relay/setup/webtunnel/source/, replacing the fingerprint and URL, but leaving the IP how it is, although I don’t understand why it is in a private address space (pardon my ignorance please). I can connect to the bridge and surf the web!
However…
- It shows up on Relay Search, correctly indicating the webtunnel protocol, but with distribution mechanism ‘none’, and it says offline even though it is not.
- Running Nyx shows 2 outbound connections, 8 circuits. Seems low.
- Heartbeat message reads
Heartbeat: Tor's uptime is 6:00 hours, with 6 circuits open. I've sent 8.10 MB and received 14.91 MB. I've received 5 connections on IPv4 and 0 on IPv6. I've made 2 connections with IPv4 and 0 with IPv6.
Seems strange that it hasn’t made more connections.
Is this normal behavior for a webtunnel bridge?
Other info:
- OpenBSD 7.5 amd64 on a VPS; nginx-1.24.0; tor-0.4.8.10; compiled webtunnel from source with go-1.22.1.
- Static IPv4 address. Running
pf
firewall with rules passing incoming traffic only on ports {80, 443} and a non-standard SSH port. Using anti-spoofing rules including quick dropping martian addresses on WAN interface. torrc
is as follows. It includes rules for rate limiting and Nyx control:
AssumeReachable 1
BridgeRelay 1
ControlPort 9051
CookieAuthentication 1
CookieAuthFile /var/tor/control_auth_cookie
CookieAuthFileGroupReadable 1
DataDirectory /var/tor
DataDirectoryGroupReadable 1
DisableDebuggerAttachment 0
ExtORPort auto
Log notice syslog
ORPort 127.0.0.1:auto
RelayBandwidthBurst 3145728
RelayBandwidthRate 2306867
RunAsDaemon 1
ServerTransportListenAddr webtunnel 127.0.0.1:15000
ServerTransportOptions webtunnel url=https://[redacted-url]/[redacted-24-digit-random-string]
ServerTransportPlugin webtunnel exec /usr/local/bin/webtunnel
SocksPort 0
User _tor
Thanks in advance for any help or insights can you give.
Best,
T