how openvpn server push routing rule according to client ip?

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

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

Post Reply
tony.he
OpenVpn Newbie
Posts: 10
Joined: Tue Jan 14, 2014 11:43 am

how openvpn server push routing rule according to client ip?

Post by tony.he » Tue Jan 14, 2014 11:53 am

I want to implement the following requirement:
During the VPN connection established,server get the public ip address of client.According to the public ip,server push different routing rule to client.
so how to write the configure file? Any advice is welcome.Thanks!

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: how openvpn server push routing rule according to client

Post by maikcat » Tue Jan 14, 2014 2:00 pm

you can send your clients different routes based on their certificate (ccd files)

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

tony.he
OpenVpn Newbie
Posts: 10
Joined: Tue Jan 14, 2014 11:43 am

Re: how openvpn server push routing rule according to client

Post by tony.he » Tue Jan 14, 2014 2:14 pm

maikcat wrote:you can send your clients different routes based on their certificate (ccd files)

Michael.
sorry,I do not understand your meaning.It seems that the method you provided can not implement my requirement.Would you detail it?

Post Reply