Revision 8ff6b72c
Added by Ermal LUÇI almost 14 years ago
etc/inc/vpn.inc | ||
---|---|---|
894 | 894 |
/* FIXME: does adding route-to and reply-to on the in/outbound |
895 | 895 |
* rules fix this? smos@ 13-01-2009 */ |
896 | 896 |
// log_error("IPSEC interface is not WAN but {$parentinterface}, adding static route for VPN endpoint {$rgip} via {$gatewayip}"); |
897 |
mwexec("/sbin/route delete -host {$rgip}; /sbin/route add -host {$rgip} {$gatewayip}", true);
|
|
897 |
mwexec("/sbin/route change -host {$rgip} {$gatewayip}", true);
|
|
898 | 898 |
} |
899 | 899 |
} |
900 | 900 |
} |
Also available in: Unified diff
Use the new change to be less distuptive