I have an Ubuntu Server 12.04 running OpenVPN and OpenSSH. I've installed OpenVPN on a Windows machine at work, and created the connection. I can ping back and forth between the machines, but when I try to SSH in, the connection doesn't go through. I don't believe it is a firewall issue. If I connect directly on the public IP address, port forwarded through my router, I can connect without any problems.
When I connect through VPN, my server logs
Aug 17 17:03:21 alfred sshd: fatal: Read from socket failed: Connection reset by peer [preauth]
2013-08-17 17:02:49 Looking up host "172.24.0.1" 2013-08-17 17:02:49 Connecting to 172.24.0.1 port 22 2013-08-17 17:02:49 Server version: SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1 2013-08-17 17:02:49 Using SSH protocol version 2 2013-08-17 17:02:49 We claim version: SSH-2.0-PuTTY_Release_0.62 2013-08-17 17:02:49 Doing Diffie-Hellman group exchange 2013-08-17 17:02:49 Doing Diffie-Hellman key exchange with hash SHA-256 2013-08-17 17:03:08 Network error: Software caused connection abort
How can I fix this problem? I hope to run multiple services on this server without having to open up lots of ports publicly.