PedroV
Good evening, I testing OpenVPN and it works great, I've tested with a mobile and from another computer connected to another network and connects super fast. The problem I have is that neither the motive nor the other pc, go to the Internet through the VPN, the browser is loaded and fails to show any page, otherwise the adapting network that creates me OpenVPN on Windows appears as "no internet connection" 🙁
The OpenVPN I have deployed on the machine with CentOS: IP 192.168.1.100, mask 255.255.255.0, gateway 192.168.1.1 and DNS Google, with the corresponding UDP port 1194 open on the router.
OpenVPN server configuration is as follows: Net IP ASSIGNS: 10.8.0.0 mask 25.255.255.0, in tun0 device, and additional settings:
push "route 192.168.1.0 255.255.255.0"
push "dhcp-option DNS 8.8.8.8"
push "redirect-gateway tun0 bypass-dhcp"
The network that the client computer is created is as follows (all you end Internet) 10.8.0.6 IPv4 address, subnet mask 255.255.255.252, v4 DHCP DNS server 10.8.0.5 10.8.0.1
So that you can connect I have to have "iptables" stopped, because if I start or the phone or the PC can be connected to the VPN
I've tried to put the iptables configuration shown in the article, nor works for me.
Do I need iptables enabled for the VPN to work or just for security?
How I can redirect traffic to the customer IP 10.8.0.6 have internet access?
Greetings, thank you, the truth is I am out of ideas.