Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
finottiOffline
Post subject: SSHing a machine using openvpn  PostPosted: 16.08.2012, 00:54



Joined: 2010-09-12
Posts: 493

Status: Offline
Dear all,

Is there a way to SSH to a machine running openvpn? (I can get the real IP, of course.)

I can see my router passing packages to the computer in my network, but it never connects.

Any ideas?

Thanks,

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: SSHing a machine using openvpn  PostPosted: 16.08.2012, 01:54



Joined: 2010-08-25
Posts: 962

Status: Offline
If you're running a VPN solution, you have access to the local LAN - and can ssh to the machine's local IP (or DNS address). Access restrictions of your LAN apply, unless you configured your VPN solution specifically to put road warriors into a walled subnet - but this depends on your local configuration.
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject: RE: SSHing a machine using openvpn  PostPosted: 16.08.2012, 09:26



Joined: 2010-09-12
Posts: 493

Status: Offline
Thanks for the reply, slh.

But can I access the machine from outside the LAN? As I said, the connection request (from outside the LAN) reaches the router, the router passes the packet to the correct machine, but the connection doesn't get established. I see no message in the computer's logs about the attempted connection (using "LogLevel DEBUG3" in sshd_config). If stop the VPN tunneling, I can ssh without problems.
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: SSHing a machine using openvpn  PostPosted: 16.08.2012, 15:06



Joined: 2010-08-25
Posts: 962

Status: Offline
Running a VPN client changes the routing, in order to (typically) re-route everything through the VPN tunnel, you typically can reconfigure it to whitelist a local subnet.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio