Hello, my name is Irvan, i need some help, i installed OpenVPN server on my VPS Ubuntu 18.06 with angristan script (
https://github.com/angristan/openvpn-install)
It works fine, until i try to access some website without SSL/HTTPS, it redirect me to the IP address of my VPS and it still showing the HTTP website domain in address bar i tried to access but the page was my VPS login page (i installed login page in my VPS), i spend whole day to figure this out, but still nothing.
I upload a video in Youtube for better understanding with my issue.
https://youtu.be/DuKBc-GvYp0
server.conf
port 1194
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
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"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key 0
crl-verify crl.pem
ca ca.crt
cert server_2hImSOm2vS3wiwRx.crt
key server_2hImSOm2vS3wiwRx.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
client.ovpn
client
proto udp
explicit-exit-notify
remote 172.105.xxx.xx 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_2hImSOm2vS3wiwRx name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.105.124.1 0.0.0.0 UG 0 0 0 eth0
10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
172.105.124.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Thank you