Révision 0b5fc1d1
Ajouté par Ermal il y a plus de 9 ans
usr/local/www/interfaces_assign.php | ||
---|---|---|
239 | 239 |
if (isset($portlist[$ifport]['isppp'])) |
240 | 240 |
$config['interfaces'][$ifname]['ipaddr'] = $portlist[$ifport]['type']; |
241 | 241 |
|
242 |
if (substr($ifport, 0, 3) == 'gre') { |
|
242 |
if (substr($ifport, 0, 3) == 'gre' || substr($ifport, 0, 3) == 'gif') {
|
|
243 | 243 |
unset($config['interfaces'][$ifname]['ipaddr']); |
244 | 244 |
unset($config['interfaces'][$ifname]['subnet']); |
245 | 245 |
unset($config['interfaces'][$ifname]['ipaddrv6']); |
Formats disponibles : Unified diff
Change the logic of the vpn config generation to make connectivity more stable especially ipsec. Also for IKEv1 just generate the policies and only on traffic start them.