Line 68:
Line 68:
===Keys===
===Keys===
−
These are the ipsec database keys required to setup the server
+
These are the basic database keys required to setup the server
+
+
======IPsec settings======
* IPRange Start/Finish
* IPRange Start/Finish
Line 74:
Line 76:
Note it '''MUST NOT''' conflict with IPs issued by your DHCP server
Note it '''MUST NOT''' conflict with IPs issued by your DHCP server
−
db ipsec_connections setprop L2TPD-PSK IPRangeStart 192.168.1.176 IPRangeFinish 192.168.1.190
+
db ipsec_connections setprop L2TPD-PSK IPRangeStart 192.168.1.176 IPRangeFinish 192.168.1.190
* rightsubnet
* rightsubnet
This must be the subnet in CIDR format and match the IP range allocated above eg:
This must be the subnet in CIDR format and match the IP range allocated above eg:
−
db ipsec_connections setprop L2TPD-PSK rightsubnet 192.178.1.176/28
+
db ipsec_connections setprop L2TPD-PSK rightsubnet 192.178.1.176/28
* passwd
* passwd
Line 96:
Line 98:
config setprop ipsec status enabled
config setprop ipsec status enabled
−
Xl2tps settings
+
======Xl2tps settings======
+
* DNS
* DNS
Optional - defaults to the SME server. Can add extra servers if required
Optional - defaults to the SME server. Can add extra servers if required
Line 104:
Line 107:
Defaults to private. Not necessary to set public.
Defaults to private. Not necessary to set public.
−
config setprop xl2tpd status enabled
+
* status
+
config setprop xl2tpd status enabled
*UDPPort
*UDPPort