我有一个远程 vps amazon ec2。我想在其上使用 openvpn 客户端。Openvpn 运行成功,但我无法通过 ssh 连接到它。
(remote vps) <–––––> through vpn <–––> some remote sites(many ips)
^ (this works)
|
| (can't connect)
|
(my pc)
当 openvpn 客户端正在运行时,我如何连接到远程 vps?
client.conf
client
dev tun
proto udp
remote vpnserver.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-user-pass auth.txt
comp-lzo
verb 1
reneg-sec 0
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ