Azure / azure-relay-bridge

Azure Relay Bridge - A cross-platform command line tool to create VPN-less TCP tunnels from and to anywhere
MIT License
121 stars 48 forks source link

sample config file if possible #2

Closed Neue-Ziel closed 2 months ago

Neue-Ziel commented 6 years ago

would you provide a sample config file so that we may test different parameters.

jnettleton commented 2 years ago

For a SQL server test, you could use:

On clientHost (SSMS installed):

LocalForward :
  - BindAddress: clientHost
    BindPort: 1433
    RelayName: my-relay-sqldb

On serverHost (SQL Server installed):

RemoteForward :
  - Host: serverHost
    HostPort: 1433
    RelayName: my-relay-sqldb

on both hosts, add your relay information:

# RELAY KEY
AzureRelayConnectionString : "Endpoint=sb://my-relay.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=***************"
AzureRelayEndpoint : "sb://my-relay.servicebus.windows.net/"
AzureRelaySharedAccessKeyName : "RootManageSharedAccessKey"
AzureRelaySharedAccessKey : "***************"