Much like local port forwarding, remote port forwarding has its own bastion host mode. Remote Port Forwarding from a Home/Private Network Sed -i '/PermitOpen/d' /etc/ssh/sshd_config Sed -i '/AllowTcpForwarding/d' /etc/ssh/sshd_config First, we need to prepare the server - a machine with the SSH daemon and a simple web service listening on 127.0.0.1:80: $ docker buildx build -t server:latest -> /root/.ssh/authorized_keys The lab reproduces the setup from the diagram above. Lab 1: Using SSH Tunnels for Local Port Forwarding □□
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |