<%#
Opennet Firmware

Copyright 2010 Rene Ejury <opennet@absorb.it>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

-%>
<%+header%>
<h2><a id="content" name="content"><%:Opennet Usergateways%></a></h2>
<% if luci.sys.exec("openvpn --help | grep mtu") == "" then %>
  <div class="errorbox">
  <h1>ERROR: openvpn does not support mtu-check, please compile openvpn without "--enable-small" option</h1>
  </div>
<% else %>

<% include("opennet/on_ugw_status") %>
<% include("opennet/on_ugw_new") %>
<% certtype = "ugw" %>
<% include("opennet/on_vpn_key_management") %>
<% include("opennet/on_vpn_key_generation") %>

<% end %>
<%+footer%>
