X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fportforwarder%2Fmisc%2Fconfig.yaml;h=ee432e04a2c22718d0ac63aae5a3f3f60ab22d51;hb=cf4911b8160051b22197f9650e89b9884142018e;hp=3f42ecde875a992434993a7beca05cfe0b3c05d6;hpb=571572f372320efab5230dc52f7591ba0d2831ef;p=dsa-puppet.git diff --git a/modules/portforwarder/misc/config.yaml b/modules/portforwarder/misc/config.yaml index 3f42ecde..ee432e04 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: 5442 - 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