I have a road warrior connected to VPN, and I'd like all traffic routed to the specific client to go through OpenVPN server. I'm aware that push "redirect-gateway def1" forces route on every client.
Is it possible to force route on client side config or be more specific with what client I'd like to force route to?
Maybe the only solution would be to push redirect-nopull on all other devices.
Cheers,
Daniel
[resolved] Force push "redirect-gateway" on ONE client only
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 5
- Joined: Mon Dec 05, 2011 6:00 pm
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: Force push "redirect-gateway" on ONE client only
Use ccd files to push that option only to that client. Create a file with client's common name and put in that file only needed options.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Mon Dec 05, 2011 6:00 pm
Re: Force push "redirect-gateway" on ONE client only
Works great. Thank you.