Hello,
i have not found any solution to this
how to for example browse website hosted on my openvpn server while i am connected to the internet via this server? Also i want to access a few other ports on same server.
How do i do it please?
Server
OS: Redhat based CentOS 6.10
Some interesting lines from command "grep vpn /var/log/messages":
Oct 2 16:42:55 host2 yum[387760]: Installed: openvpn-2.4.7-1.el6.x86_64
Oct 2 16:43:00 host2 openvpn[388103]: OpenVPN 2.4.7 x86_64-redhat-linux-gnu [Fedora EPEL patched] [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Oct 2 16:43:00 host2 openvpn[388103]: library versions: OpenSSL 1.0.1e-fips 11 Feb 2013, LZO 2.03
Oct 2 16:43:00 host2 openvpn[388104]: Diffie-Hellman initialized with 2048 bit key
Oct 2 16:43:00 host2 openvpn[388104]: Failed to extract curve from certificate (UNDEF), using secp384r1 instead.
Oct 2 16:43:00 host2 openvpn[388104]: ECDH curve secp384r1 added
Oct 2 16:43:00 host2 openvpn[388104]: Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Oct 2 16:43:00 host2 openvpn[388104]: Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Oct 2 16:43:00 host2 openvpn[388104]: TUN/TAP device tun0 opened
Oct 2 16:43:00 host2 openvpn[388104]: TUN/TAP TX queue length set to 100
Oct 2 16:43:00 host2 openvpn[388104]: /sbin/ip link set dev tun0 up mtu 1500
Oct 2 16:43:00 host2 openvpn[388104]: /sbin/ip addr add dev tun0 10.8.0.1/24 broadcast 10.8.0.255
/etc/openvpn/server.conf
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 1.1.1.1"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
Thank you in advance for help