[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: port forwarding without using ssh



On Wed, Nov 11, 2009 at 10:36:20AM +0800, Zhang Weiwu wrote:
> Hello. I have a remote server inside a remote office covered by NAT
> masquerade where port forwarding not possible, and a local server in my
> local office not covered by NAT masquerade. In order to access the
> remote office and hosts in that office, I do this:
> 
> On remote office server, in a screen session I run
> $ ssh -R ....  local_server
> 
> On my own office, I try to connect to mapped ports on local_server.
> 
> The problem of this solution is security. I do not want to grant shell
> access of local_server to remote_server. What would you recommend me to
> do in this case? I could try to limit access of the account used by
> remote server ssh -R, but should I?

have you thought about openvpn and iptables ?

> 
> 

-- 
"A tax cut is really one of the anecdotes to coming out of an economic illness."

	- George W. Bush
09/18/2000
The Edge With Paula Zahn

Attachment: signature.asc
Description: Digital signature


Reply to: