X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fportforwarder%2Fmisc%2Fconfig.yaml;h=ee432e04a2c22718d0ac63aae5a3f3f60ab22d51;hb=a0f14db1e2eec1c1afc7a8c16e956935b219ee82;hp=50f57e3370248876f7d226599b7810b3a112a54e;hpb=04ed93817e17d8cca45516ca10c04b1ef37dbfd5;p=mirror%2Fdsa-puppet.git diff --git a/modules/portforwarder/misc/config.yaml b/modules/portforwarder/misc/config.yaml index 50f57e337..ee432e04a 100644 --- a/modules/portforwarder/misc/config.yaml +++ b/modules/portforwarder/misc/config.yaml @@ -1,9 +1,14 @@ --- -# from host:port to host:port -master.debian.org: - - source_bind_port: 5441 - target_host: samosa.debian.org - target_port: 5441 +# TODO: if we ever want to forward more than one port between two hosts then +# we will have to come up with a wrapper script that picks the right target +# port on the remote instead of just encoding it in authkeys. +# from host:port to host:port +danzi.debian.org: + # snapshot postgresql streaming replication. sibelius is the master, danzi the slave. + - source_bind_port: 15433 + target_host: sibelius.debian.org + target_port: 5433 + ssh_options: -oAddressFamily=inet