Quantcast
Channel: How can I set SSH connection to my server via just OPENVPN - Stack Overflow
Viewing all articles
Browse latest Browse all 3

How can I set SSH connection to my server via just OPENVPN

$
0
0

I want to connect to my server via limited ip adresses. I thought that may be I can connect to my server via OPENVPN that is installed on my server. I have modified hosts.allow and hosts.deny files in /etc


/etc/hosts.allow file :

sshd : x.x.x.x (server ip )

/etc/hosts.deny file :

sshd : ALL

But I cant connect to my server via OpenVPN at the moment. OpenVPN has different ip adress like 10.8.0.x. How I can set SSH connection to my server via OpenVpn?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images