OpenVPN Configuring client-specific rules and access policies


Gargoyle by default uses the same OpenVPN server rules for all VPN clients. For custom per client rules we need to manually edit files in the “ccd” folder. Each time a new client is added via the GUI a config file with the same name is created in the ccd folder. Edit the config file via SSH through putty, WinSCP or other SSH client.

Edit OpenVPN configuration

Client Configuration Directory


Specific Client Configuration File


Example Configuration

push "route"
push "redirect-gateway def1"

In this example (push “redirect-gateway def1”) has been added so all VPN traffic is routed through the VPN server.

Example options

push "redirect-gateway def1" # all VPN traffic is routed through the VPN server

push "dhcp-option DNS" # Change this to your router's LAN IP Address
openvpn_-_configuring_client-specific_rules_and_access_policies.txt · Last modified: 2018/09/07 19:49 by ispyisail
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki