136 reputation
4
bio website linkedin.com/in/dchrikov
location
age
visits member for 1 year, 9 months
seen Oct 21 at 12:54

Jan
5
awarded  Supporter
Jan
5
comment How to forward local server on XXXX port to sever outside firewall on port XXXX
Finally I catch what you want: enable Gateway ports ("GatewayPorts yes") in /etc/ssh/sshd_config, restart sshd and connect to 'ssh -R 9333:remotehost.com:9333 remotehost.com'
Jan
5
comment How to forward local server on XXXX port to sever outside firewall on port XXXX
let us continue this discussion in chat
Jan
5
awarded  Cleanup
Jan
5
revised How to forward local server on XXXX port to sever outside firewall on port XXXX
rolled back to a previous revision
Jan
5
comment How to forward local server on XXXX port to sever outside firewall on port XXXX
With ssh -R 9333:localhost:9333 remotehost.com you forward local 9333 to remote 9333. So if your local app is binded to localhost:9333 on the client side it can receive requests from remotehost.com. ssh -L 9333:localhost:9333 remotehost.com allows you to navigate localhost:9333 on the client side and get access to app which is binded to localhost:9333 on the remotehost
Jan
5
revised How to forward local server on XXXX port to sever outside firewall on port XXXX
Misunderstanding. Using -L instead of -R
Jan
5
comment How to forward local server on XXXX port to sever outside firewall on port XXXX
If I got you right you should use -L instead or -R: ssh -L 9333:localhost:9333 remotehost.com and then navigate to http://localhost:9333 on the client side
Jan
5
awarded  Teacher
Jan
5
comment How to forward local server on XXXX port to sever outside firewall on port XXXX
"ssh -R 9333:remotehost.com:9333 remotehost.com". But you should check the name resolution of the 'remotehost.com' on the remotehost side: # host remotehost.com. You should also be sure than your application listens needed port: # netstat -na | grep :9333
Jan
5
awarded  Editor
Jan
5
revised Linux group and permission - why I can't access a folder I already have permission to?
added 29 characters in body
Jan
5
comment Linux group and permission - why I can't access a folder I already have permission to?
I mean x permission for /home/git folder also. Please provide the 'ls -ld /home/git' output.
Jan
5
answered How to forward local server on XXXX port to sever outside firewall on port XXXX
Jan
5
answered Some permissions questions regarding userdir and usr/local/bin
Jan
5
answered Linux group and permission - why I can't access a folder I already have permission to?