Skip to content

Commit

Permalink
Also enable tcp forwarding explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
zlepper committed Aug 25, 2023
1 parent d070b11 commit a82e762
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM tailscale/tailscale:stable
ENV TS_DEBUG_FIREWALL_MODE=auto
RUN apk add openssh-server && \
sed -i 's/GatewayPorts no/GatewayPorts yes/g' /etc/ssh/sshd_config
sed -i 's/GatewayPorts no/GatewayPorts yes/g' /etc/ssh/sshd_config && \
sed -i 's/AllowTcpForwarding no/AllowTcpForwarding yes/g' /etc/ssh/sshd_config

0 comments on commit a82e762

Please sign in to comment.