plz help, iam unable to connect to server

Use this forum to share your VPN or network disasters. Show diagrams, traffic graphs, or whatever else you need (a video of you letting the 'smoke' out of our network gear).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
santosh1411
OpenVpn Newbie
Posts: 1
Joined: Thu Sep 05, 2019 1:33 pm

plz help, iam unable to connect to server

Post by santosh1411 » Thu Sep 05, 2019 1:39 pm

my client config
client
dev tun
proto udp

remote 167.71.240.232 1194
auth-user-pass
management localhost 7505
resolv-retry infinite
nobind
persist-key
persist-tun

remote-cert-tls server

setenv opt block-outside-dns
key-direction 1
verb 3

<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-auth>

my server config
port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 67.207.67.3"
push "dhcp-option DNS 67.207.67.2"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nobody
persist-key
persist-tun
# Username and Password authentication.
client-cert-not-required
plugin /usr/lib/openvpn/openvpn-auth-pam.so login
status openvpn-status.log
verb 3
crl-verify crl.pem

i want to connect server with username/password plz help

Post Reply