Commit 6309ca83 authored by David Johnson's avatar David Johnson

Openvpn requires at least a /29 even for net30 with a single client.

parent f06ed8dc
......@@ -340,7 +340,7 @@ clientvars.addVariable("VPN_COMPRESSION",params.vpnCompression)
clientvars.addVariable("VPN_CIPHER",params.vpnCipher)
if params.vpnType == TOPO_NET30MP:
ipaVPN = IPAssign(baseaddr=[192,168,248,4],basebits=21,allowed_subnets=[30])
ipaVPN = IPAssign(baseaddr=[192,168,248,8],basebits=21,allowed_subnets=[29])
for i in range(1,params.numAggregates+1):
ipaVPN.request_network("agg%d" % (i,),1)
ipaVPN.assign_networks()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment