Koozali.org: home of the SME Server

additional config in openVPN bridge contrib

additional config in openVPN bridge contrib
« on: September 24, 2013, 05:36:53 PM »
Is it possible to add some push config options to the GUI for clients connecting to the bridge?

for example...

Quote
push "route 10.120.120.0 255.255.255.0 192.168.1.189"

Can be manually added via SSH/CLI to any of the rules files created by the GUI (Configuration Rules Management) in /etc/openvpn/bridge/ccd/. These edits can then be then be pushed to any client. The only issue here is that depending on what you do in the GUI, your manual edits may be overwritten/removed. This can lead to ulcers & hair loss while you try to sort out why your openVPN clients won't pull what you've added to the rules files.
« Last Edit: September 24, 2013, 05:39:07 PM by cjohnson19401 »

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: additional config in openVPN bridge contrib
« Reply #1 on: September 24, 2013, 06:22:31 PM »
I think it could be done via custom fragments/template

see the dev's manual in the documentation section above

HTH