Answer the question
In order to leave comments, you need to log in
Who can explain to a noob how to set up OpenVPN correctly?
Asking questions on the "Toaster" looking for answers, I still managed to set up a server >> client connection , everything pings and works as it should. But unfortunately not everything is so colorful.
I already asked a question ( When connecting via openvpn to the client, it disconnects. Why? ), but I didn’t get an answer, I’ll try to reformulate it differently, but the essence is the same.
Screenshot of a successful connection:
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
key-direction 0
cipher AES-256-CBC
auth SHA256
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
log-append openvpn.log
verb 5
explicit-exit-notify 0
client
dev tun
proto tcp
remote xxxxxx.ru 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
auth SHA256
key-direction 1
verb 5
Answer the question
In order to leave comments, you need to log in
Porridge ... by God, what does openvpn have to do with it?
The connection is established, the client sees the server with an internal address, the server sees the client.
Next, you need, it’s not clear what, it’s not clear from your words.
With the connection already established, from the server side, access the vnc server from the client side? change the port to vnc by the way in this case.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question