Changes

Jump to navigation Jump to search
298 bytes added ,  16:05, 20 September 2017
Line 67: Line 67:     
====Create a connection on the server:====
 
====Create a connection on the server:====
 +
 +
Here we assume your local network is 192.168.101.x
    
  db ipsec_connections set L2TPD-PSK xl2tpd \  
 
  db ipsec_connections set L2TPD-PSK xl2tpd \  
Line 81: Line 83:  
So if you change 101 on '''IPRangeStart''', you must change it on '''IPRangeFinist''' and '''rightsubnet''' too! }}
 
So if you change 101 on '''IPRangeStart''', you must change it on '''IPRangeFinist''' and '''rightsubnet''' too! }}
    +
Make sure the Start and Finish addresses do NOT conflict with your server dhcp range. You can see your server dhcpd range with:
 +
 +
config show dhcpd
 +
 +
Now we can enable the required services which will automatically add the correct firewall ports.
    
  config setprop xl2tpd status enabled
 
  config setprop xl2tpd status enabled

Navigation menu