I have successfully configured an OpnVPN server on windows 2k8 OS, where RRAS already running, configuration of RRAS is our users can dial PPTP,L2TP and SSTP, RRAS assigning them a public IP and they pass their traffic through assigned IP by RRAS.
I have configured OpenVPN with same scenario OpenVPN also assigning Public IP's to the client who dialed OpenVPN server I already put OpenVPN TAP interface in our RRAS.
But the problem is that OpenVPN clients getting right IP/Subnet/Gateway but not able to pass their traffic to internet, the client can ping TAP IP and getting proper response, below is my config file.
Kindly help me out is this regard.
Code: Select all
port 1194
proto udp
dev tap
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
server-bridge 190.xxx.xxx.4 255.255.255.192 190.xxx.xxx.41 190.xxx.xxx.51
route-method exe
push "redirect-gateway def1" # bypass-dhcp
push "dhcp-option DNS 208.67.222.222"
duplicate-cn
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
persist-key
persist-tun
status openvpn-status.log
username-as-common-name
verb 5
script-security 3
auth-user-pass-verify "C:/php/php.exe C:/scripts/ldap.php" via-file
Jebran