1
Methodology to access servers behind firewall.
2
1. From firewalled host SSH to server and stay logged
3
ssh -R 2222:localhost:22 user@dside.dyndns.org sleep <duration>
4
- maps server's 2222 port to port 22 on a localhost
5
2. While the user from firewalled host is stayed logged, his ssh
6
server can be accessed from the server with
8
3. If you want the direct connection to publish access to the user
9
server, in the server SSH configuration following option should be
12
In this option is specified but firewalled user do not want to make
13
port publicly accessible, he can specify 'localhost' as first parameter
14
of -R option withinn SSH command:
15
ssh -R localhost:\2222:localhost:22 user@dside.dyndns.org sleep <duration>
b'\\ No newline at end of file'