diff options
author | Phil Davis <phil.davis@inf.org> | 2014-04-14 04:37:46 -0700 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-04-14 04:37:46 -0700 |
commit | 32751b9f1af9f980f7a34e3fe95b083e9c6d07f3 (patch) | |
tree | 3e7a86f45863bb8214421a91eeefa3f6f783a0e1 /usr/local/www/diag_logs_routing.php | |
parent | 146ee078fe8c2cfa65fe957616f845d1862f6e9d (diff) | |
download | pfsense-32751b9f1af9f980f7a34e3fe95b083e9c6d07f3.zip pfsense-32751b9f1af9f980f7a34e3fe95b083e9c6d07f3.tar.gz |
Include static routes in automatic NAT rules display
If I have an internal gateway to other private subnets behind LAN, and add a static route to those private subnets through the internal gateway, then pfSense very nicely generates NAT rules on WAN-style interfaces to NAT those internal subnets on the way out of WAN. That is very good and convenient. This outbound NAT is actually correctly in the ruleset.
However, the new Outbound NAT GUI page shows the Automatic Outbound NAT rules that are in effect (a great new feature in 2.2). But it did not show the rules for the static routes.
This fixes it. (But the code for all of this is a bit ugly, because it all depends on having a global variable $GatewaysList in view - I am not going to attempt to re-engineer that)
Diffstat (limited to 'usr/local/www/diag_logs_routing.php')
0 files changed, 0 insertions, 0 deletions