Project

General

Profile

« Previous | Next » 

Revision a6ed5ab8

Added by Ermal LUÇI about 14 years ago

Use the new change to be less distuptive

View differences:

etc/inc/vpn.inc
864 864
								/* FIXME: does adding route-to and reply-to on the in/outbound
865 865
								 * rules fix this? smos@ 13-01-2009 */
866 866
								// log_error("IPSEC interface is not WAN but {$parentinterface}, adding static route for VPN endpoint {$rgip} via {$gatewayip}");
867
								mwexec("/sbin/route delete -host {$rgip}; /sbin/route add -host {$rgip} {$gatewayip}", true);
867
								mwexec("/sbin/route change -host {$rgip} {$gatewayip}", true);
868 868
							}
869 869
						}
870 870
					}

Also available in: Unified diff