Changes between Version 4 and Version 5 of SshProxyNotes

Show
Ignore:
Timestamp:
05/24/10 16:29:14 (9 years ago)
Author:
ibaldin (IP: 152.54.9.131)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SshProxyNotes

    v4 v5  
    3636  5. Install the proxy key into the root account 
    3737  6. Allocate the port on the proxy host (assume port 12345) 
    38   7. Create a reverse tunnel (in this example for SSH, replace 22 with a port of a different service as needed): 
     38  7. Create a reverse tunnel (in this example for SSH, replace 22 with a port of a different service as needed; to limit the interfaces on which port 12345 is bound to the tunnel replace 0.0.0.0 with the address of the specific public interface on the proxy) to the proxy host using its private address/name: 
    3939{{{ 
    40 $ ssh -nNT -R 0.0.0.0:12345:localhost:22 rev-tunnel-user@proxy.host.name 
     40$ ssh -nNT -R 0.0.0.0:12345:localhost:22 rev-tunnel-user@proxy.host.name.priv 
    4141 }}} 
     42  8. Now the service will be available on proxy.host.name (or its public name/address) on port 12345. For example to ssh to the new host from outside, the user can simply 
     43{{{ 
     44$ ssh -p 12345 proxy.host.name.pub 
     45}}}