<%+header%> <% local uci = require("luci.model.uci").cursor() local net = require "luci.model.network".init() local ifaces = net:get_interfaces() %> <% if stderr and #stderr > 0 then %>
<%=pcdata(stderr)%>
<% end %>

<%:Wizard%>

<%:Server settings%>
<%:Put the values given by OpenMPTCProuter VPS script.%>
" data-type="ip4addr">
" data-type="base64">
">
<%:Interfaces settings%>
<%:You must disable DHCP on your modems and set IP in different networks.%>
<% for _, iface in ipairs(ifaces) do --if not (iface == "lo" or iface:match("^tun.*")) then local ifname = iface:name() if (ifname:match("^wan.*")) then %>

<%=ifname%>

" data-type="ip4addr">
help <%:Set an IP in the same network as the modem%>
" data-type="ip4addr">
" data-type="ip4addr">
help <%:Set here IP of the modem%>
<% end end %>
<%+footer%>