User Tools

Site Tools


openvpn_-_configuring_client-specific_rules_and_access_policies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
openvpn_-_configuring_client-specific_rules_and_access_policies [2018/03/31 22:31]
ispyisail created
openvpn_-_configuring_client-specific_rules_and_access_policies [2018/09/07 19:44]
ispyisail
Line 5: Line 5:
 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. 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.
  
 +Configuration Directory
   /etc/openvpn/ccd/    /etc/openvpn/ccd/ 
  
 +Specific Configuration file
   /etc/openvpn/ccd/livestream   /etc/openvpn/ccd/livestream
  
 +Example Configuration
   ifconfig-push 10.8.0.16 255.255.255.0   ifconfig-push 10.8.0.16 255.255.255.0
   iroute 192.168.200.0 255.255.255.0   iroute 192.168.200.0 255.255.255.0
Line 20: Line 20:
 In this example (push "redirect-gateway def1") has been added so all VPN traffic is routed through the VPN server.  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 192.168.1.1" # 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