Answer the question
In order to leave comments, you need to log in
Setting up OpenVPN to work with tls\ssl?
I ask for help, tell me where to dig.
There is a VPN server and 4 clients (1 mobile phone, 2 home PCs, 3 and 4 work PCs) PCs 3 and 4 are on the same local network
Everyone is connected to the server, but some sites do not work on PCs 3 and 4, browsers give out error related to TLS\SSL
The site may be using outdated or weak TLS security settings. If this keeps happening, contact the website owner.
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
client-to-client
server 10.8.0.0 255.255.255.0
ifconfig -pool-persist ipp.txt
#push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 8.8.8.8"
push "route 1.1.1.1 255.255.255.255 vpn_gateway"
push "route 8.8.8.8 255.255.255.255 vpn_gateway"
push "route 149.154.164.0 255.255.252.0 vpn_gateway"
push "route 178.62.9.0 255.255.255.0 vpn_gateway"
keep alive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
Answer the question
In order to leave comments, you need to log in
The site may be using outdated or weak TLS security settings. If this keeps happening, contact the website owner.
To wrap all traffic in the VPN, you need to register it push "redirect-gateway def1"
in the server config, and you have this option commented out. + To this, configure nat on the server so that it replaces the source addresses in packets and sends them to the Internet.
With this config, it seems to me that only dns traffic goes through vpn to 8.8.8.8 and 1.1.1.1 + 2 subnets 149.154.164.0/22 and 178.62.9.0/24. Is that how it was intended?
For example, you can open https://2ip.ru , remember the address. Then turn on ovpn if it was turned off or vice versa, and open the site in a new tab - the address should change (the IP address of the VPN server should be displayed)
How a temporary option wrapped google traffic inside a VPN
# Part of GOOGLE servers
push "route 216.58.192.0 255.255.224.0 vpn_gateway"
push "route 172.217.0.0 255.255.0.0 vpn_gateway"
push "route 64.233.160.0 255.255.224.0 vpn_gateway"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question