Hello.
I’ve just made Openvpn configuration on my VPS. My Windows 10 PC can connect without any problems.
BUT the dafault-route from OpenVPN server is not installed to my PC rouring table.
I’ve tried these 3 ways:
1)
openvpn vtun0 {
local-port 443
mode server
protocol tcp-passive
server {
name-server 8.8.8.8
push-route 0.0.0.0/0
subnet 192.168.255.0/24
}
tls {
ca-cert-file /config/auth/ca.crt
cert-file /config/auth/t-rex-server.crt
dh-file /config/auth/dh1024.pem
key-file /config/auth/t-rex-server.key
openvpn vtun0 {
local-port 443
mode server
replace-default-route
protocol tcp-passive
server {
name-server 8.8.8.8
push-route 0.0.0.0/0
subnet 192.168.255.0/24
}
tls {
ca-cert-file /config/auth/ca.crt
cert-file /config/auth/t-rex-server.crt
dh-file /config/auth/dh1024.pem
key-file /config/auth/t-rex-server.key
openvpn vtun0 {
local-port 443
mode server
openvpn-option "--push redirect-gateway def1"
protocol tcp-passive
server {
name-server 8.8.8.8
push-route 0.0.0.0/0
subnet 192.168.255.0/24
}
tls {
ca-cert-file /config/auth/ca.crt
cert-file /config/auth/t-rex-server.crt
dh-file /config/auth/dh1024.pem
key-file /config/auth/t-rex-server.key
How can fix with this issue?