xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
296 stars 108 forks source link

Add serv specific ip_pool and l4_redirect_ip_pool #172

Closed cygnusb closed 2 years ago

cygnusb commented 2 years ago

This PR allows to use a l4-redirect-ip-pool Option on interface specific configurations:

interface=enp8s0.500,mode=L2,shared=1,start=dhcpv4,ifcfg=1,ipv6=1,ip-pool=vlan500,l4-redirect-ip-pool=noauth-vlan500

If not specified, global l4-redirect pools are used.

In addition this patch changes the following additional things:

I am not fully sure if these additional changes are all ok. Especially the first one. Please comment if needed.

cygnusb commented 2 years ago

Moved to accel-ppp/accel-ppp repo