Skip to content

WebTunnel docker - OR port is exposed

As far as I understand the purpose of the current WebTunnel approach is not to expose the ORPort externally.

The current Docker image does so.

A quick and fix would be setting to following in docker-compose.yml

services:
    webtunnel-bridge:
        restart: always
        environment:
            - NICKNAME=$BRIDGE_NICKNAME
            - PT_PORT=15000
            - OR_PORT=**127.0.0.1:**$GENEDORPORT
            - EMAIL=$OPERATOR_EMAIL
            - WEBTUNNEL_URL=$URL
          **  - WEBTUNNEL_ENABLE_ADDITIONAL_VARIABLES=1
            - WEBTUNNELV_AssumeReachable=$WEBTUNNELV_AssumeReachable**
        volumes:
            - 'webtunnel-tor-state:/var/lib/tor'
        user: debian-tor
        ports:
            - '127.0.0.1:15000:15000'
            - '**127.0.0.1:**$GENEDORPORT:$GENEDORPORT'
        container_name: webtunnelBridge
        image: 'thetorproject/webtunnel-bridge:latest'

And add following to .env

WEBTUNNEL_ENABLE_ADDITIONAL_VARIABLES=1
WEBTUNNELV_AssumeReachable=1
Edited by atari