↧
Answer by llmora for How can I set SSH connection to my server via just OPENVPN
You can use the ListenAddress directive in /etc/ssh/sshd_config to force SSHD to only listen on a specific IP address, namely the OpenVPN private address of your server, e.g.: ListenAddress 10.8.0.1...
View ArticleAnswer by Gábor for How can I set SSH connection to my server via just OPENVPN
i suggest using iptables to limit IP addresses iptables -A INPUT -s x.x.x.x -p tcp --dport 22 -j ACCEPT iptables -A INPUT -p tcp --dport 22 -j DROP
View ArticleHow can I set SSH connection to my server via just OPENVPN
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...
View Article