so i used openvpn before and it worked great
the diffrence between then and now is that i used this befor:
https://github.com/Nyr/openvpn-install
and now i used this tutorial:
http://blog.sumostyle.net/2010/02/ovpn-server/
i can connect to the server but for some reason i dont have internet when i use the vpn
i still have a putty connecton to the VPS and the VPS still had internet so there was nothing wrong with that
i think there is something wrong with the config file?
this is the config file i have right now:
dev tun
## udp is recommended, avoid TCP over TCP
proto udp
## any port will do, this is the standard
port 1194
## certs we created earlier
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
user nobody
group nogroup
## You can make this any private subnet you like
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
#status openvpn-status.log
#verb 3
#client-to-client
## make this connection the default gateway for network traffic
push "redirect-gateway def1 bypass-dhcp"
## I am running dns_masq, you may want to put your server's DNS here
## or even google: 8.8.8.8
push "dhcp-option DNS 8.26.56.26"
push "dhcp-option DNS 8.20.247.20"
log-append /var/log/openvpn
comp-lzo
## User authentication settings. Usernames must be able to authenticate with PAM
## To use radius or another auth mechanism create /etc/pam.d/openvpn
## by default it is doing common-auth (a user must have a local accout and pasword)
plugin /usr/lib/openvpn/openvpn-auth-pam.so login
client-cert-not-required
username-as-common-name
keepalive 10 120
## A management interface allows you to telnet from local host to use
## telnet localhost 7505
management localhost 7505
does anyone know what the problem is?
it is not the firewall otherwise it wouldn't have worked before