switch to hybrid

This commit is contained in:
aptalca 2022-08-18 12:21:24 -04:00
parent c4237c57f2
commit a3aabd70a5
6 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bash
# allow tcp forwarding within openssh settings
sed -i '/^AllowTcpForwarding/c\AllowTcpForwarding yes' /etc/ssh/sshd_config
sed -i '/^GatewayPorts/c\GatewayPorts clientspecified' /etc/ssh/sshd_config
echo "TcpForwarding is enabled"

View File

@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-openssh-server-ssh-tunnel-setup/run