OpenVPN and RRAS services on same server

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

OpenVPN and RRAS services on same server

Post by imjebran » Thu Nov 01, 2012 9:20 am

Hello,

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 
Regards,
Jebran

User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

Re: OpenVPN and RRAS services on same server

Post by imjebran » Wed Nov 21, 2012 1:03 pm

Hello,

I pleased to inform that I have done it :) by using bridge technology of windows, both services RRAS & OpenVPN are working fine at same time.

I want to say thanks all of you.


Regards,
Mohammad Jebran.

ludolugo
OpenVpn Newbie
Posts: 7
Joined: Thu May 16, 2013 9:14 pm

Re: OpenVPN and RRAS services on same server

Post by ludolugo » Tue May 21, 2013 1:47 pm

imjebran wrote:Hello,

I pleased to inform that I have done it :) by using bridge technology of windows, both services RRAS & OpenVPN are working fine at same time.

I want to say thanks all of you.


Regards,
Mohammad Jebran.
hi Mohammad:

I know this is an old thread but could you explain in detail what you did? i have the same scenario

thanks

User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

Re: OpenVPN and RRAS services on same server

Post by imjebran » Wed May 22, 2013 8:01 am

Hello ludolugo,

Our requirement was to provide PPTP,L2TP,SSTP and OpenVPN protocols from a single windows based server,

For PPTP, L2TP & SSTP I configured RRAS windows service, which was fine, then install and configure OpenVPN server on the same machine, to bridged server's LAN with OpenVPN connection.

Let us know if you required anything else or share your config file.

Post Reply