Project

General

Profile

« Previous | Next » 

Revision 57f62cd8

Added by Ermal LUÇI about 12 years ago

Allow traffic initiated from host and without a default route to be sent to a gateway from policy routing.

View differences:

etc/inc/filter.inc
1629 1629
			$tonathosts .= "{$config['ipsec']['client']['pool_address']}/{$config['ipsec']['client']['pool_netbits']} ";
1630 1630
		}
1631 1631
		$natrules .= "\n# Subnets to NAT \n";
1632
		$tonathosts .= "127.0.0.0/8 ";
1632
		$tonathosts .= "127.0.0.0/8 0.0.0.0 ";
1633 1633
		if($numberofnathosts > 4) {
1634 1634
			$natrules .= "table <tonatsubnets> { {$tonathosts} }\n";
1635 1635
			$macroortable = "<tonatsubnets>";

Also available in: Unified diff