summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Add validation to prohibit IPv6 on firewall_nat_edit.php, where it will ↵Chris Buechler2016-04-251-0/+13
| | | | generate invalid ruleset. Ticket #6265
* Fix #6173 Refactor NAT Edit src type matchingPhil Davis2016-04-211-13/+7
| | | | | | | 1) Remove a couple of unused calls to is_specialnet() 2) Change srctype_selected() to use a similar scheme to dsttype_selected() to decide if the existing value matches one of the dropdown list items. 3) Items like "WAN net" and "LAN net" in the src type dropdown were showing as just "WAN" and "LAN" in the dst type dropdown. Fixup the build_dsttype_list() code so it does the same as build_srctype_list() when making the text for those interface networks. (cherry picked from commit 74ac8b7aeb1cf08dbbcb3baff9c7b97abbe98858)
* Fix #6173 Use correct list of special netsPhil Davis2016-04-211-5/+3
| | | | | is_specialnet() was only using a smaller list of "special nets", so when you have a VIP as the selected special destination it was not matching it up on edit, and thus "forgetting" the special VIP selection. build_dsttype_list() already makes a good list of special destination types. That list includes all the "special" VIPs.
* Firewall - Punctuation Clean UpNOYB2016-04-201-1/+1
| | | | | | Some punctuation clean up. (cherry picked from commit 4a75d129df0c6eee2540d885c951e9ae72a0ed5e)
* Fix selection of dsttype in configs with VIPs defined. Ticket #6173Chris Buechler2016-04-201-11/+7
|
* Merge pull request #2808 from NOYB/Firewall_/_NAT_-_Remove_PersonalizationsStephen Beaver2016-04-041-7/+7
| | | | (cherry picked from commit 4012d55c028ca1c4d449e7b80ba738d4dd5b2976)
* Reengineer Form_Button setAttributePhil Davis2016-03-201-2/+1
| | | | | | As per what was done for https://github.com/pfsense/pfsense/pull/2765 - do it to the rest of them. Seems to work OK.
* Revised fix #6007Stephen Beaver2016-03-171-6/+0
|
* Fixed #6007Stephen Beaver2016-03-171-0/+3
| | | | Initilize element before refreshing
* Redmine #5994 Standardize NAT Edit Source AdvancedPhil Davis2016-03-171-41/+41
| | | | | 1) Standardize the way the Advanced button works to display and hide the source address/port fields. 2) Remove dstenable boolean - it was always set to 1 (true) and so all the tests that used it were meaningless. 3) Use true and false for portsenabled var rather than 1 and 0 - easier to read/understand.
* Revert "Merge pull request #2728 from phil-davis/form_button"Renato Botelho2016-03-151-1/+1
| | | | | This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversing changes made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f.
* Internationalize Form_Button textPhil Davis2016-03-111-1/+1
| | | | | | The text of a Form_Button is not translated internally. Some Form_Button calls already had the button text enclosed in gettext(), this does it for the remaining ones.
* More icon/button inconsistencies. Ticket #5965jim-p2016-03-101-2/+4
|
* More icon and button consistency fixes. Ticket #5965jim-p2016-03-101-4/+1
|
* Display NAT advanced source settings if definedPhil Davis2016-03-101-1/+3
| | | | On NAT Port Forward Edit, if any of the source port settings are different to the defaults then display the source fields, rather than just the Advanced button. Otherwise when editing a NAT port forward with source address/port settings, it is not obvious to the user that there are existing source settings "hiding" under the Advanced button.
* Don't unnecessarily exclude IPv6 addresses here. See ticket #5931jim-p2016-02-261-3/+3
|
* Firewall / Rules - Consolidate Move Separators FunctionNOYB2016-02-121-9/+3
| | | | Consolidate the moving of separators for add/copy/dup/delete into a generic function.
* Convert section titles to title casek-paulius2016-02-101-1/+1
|
* Fixed issues where a rule is duplicated (cloned) and the new rule is ↵Stephen Beaver2016-01-291-1/+5
| | | | inserted above a separator bar location
* Include a tracker ID in new associated firewall rules.Chris Buechler2016-01-291-0/+1
|
* Separator bar stuff moved to pfSenseHelpers.js so that it can be more easily ↵Stephen Beaver2016-01-281-0/+8
| | | | | | applied to other pages Separators added to firewall_nat.php
* Internationalize firewall aliases and NATPhil Davis2016-01-191-21/+21
|
* Continued:NOYB2016-01-121-17/+12
| | | | | | | | | Fix port aliases (Seems you can't autosuggest an element of type "number") Also apply to src too. remove is_numeric check remove min/max (not valid on text fields; does not work) add pattern in place of min/max
* Fix port aliases (Seems you can't autosuggest an element of type "number")Stephen Beaver2016-01-121-4/+5
|
* HTML Compliance - Firewall / NAT / Port Forward / EditNOYB2016-01-031-10/+10
| | | | | | | | | | | | | Attribute min/max not allowed on element input at this point. <input class="form-control" name="srcbeginport_cust" id="srcbeginport_cust" type="text" value="any" min="1" max="65536"> <input class="form-control" name="srcendport_cust" id="srcendport_cust" type="text" value="any" min="1" max="65536"> Attribute min/max not allowed on element input at this point. <input class="form-control" name="dstbeginport_cust" id="dstbeginport_cust" type="text" value="any" min="1" max="65536"> <input class="form-control" name="dstendport_cust" id="dstendport_cust" type="text" value="any" min="1" max="65536"> Attribute min/max not allowed on element input at this point. <input class="form-control" name="localbeginport_cust" id="localbeginport_cust" type="text" min="1" max="65536">
* Correction to #5710Stephen Beaver2015-12-291-1/+1
|
* Fixed #5710Stephen Beaver2015-12-291-2/+2
|
* Remove $closehead variableColin Fleming2015-12-191-1/+0
| | | | Remove unused variable $closehead
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-3/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Coe style firewall *Phil Davis2015-12-141-25/+40
|
* FIxed #5597Stephen Beaver2015-12-071-0/+24
|
* Fixed #5599Stephen Beaver2015-12-071-24/+37
|
* Fix VIP listing in firewall_nat_edit.php dst fieldChris Buechler2015-12-041-3/+5
|
* fix missing spaces in textChris Buechler2015-12-041-2/+2
|
* Calling all of these "Page" in the privilege name is redundant since they ↵jim-p2015-11-251-1/+1
| | | | are all pages and the "WebCfg" prefix implies they are pages.
* Added use of class autoloading (GUI stuff only)Doug Wollison2015-11-231-2/+0
| | | | | Any GUI script that loads the guiconfig.inc file will have access to the autoloader.
* Merge pull request #2060 from phil-davis/patch-6Stephen Beaver2015-11-111-1/+1
|\
| * No XMLRPC Sync checkbox layoutPhil Davis2015-11-111-1/+1
| | | | | | | | If null is passed for the text to go after the checkbox, then the checkbox does not line up nicely on the page with the other items above and below it. If some text (or even the empty string) is passed then the lineup is all good. In this case it seems reasonable to put some text here, like is done higher up for "Disable" and "No RDR" checkboxes.
* | Fixed #5412Stephen Beaver2015-11-111-1/+1
|/
* Fix #5411 firewall_nat_edit source negationPhil Davis2015-11-111-8/+14
| | | | And make the "not" checkboxes have the same layout as in firewall_rules_edit. That seems a better place to put the checkbox and consistency between similar GUI screens seems a good thing.
* Fix calls to ipsec_enabled() added in 179ab6b364Renato Botelho2015-11-101-0/+1
|
* Eliminate a few more cases of $config['ipsec']['enable'].Luiz Otavio O Souza2015-11-101-3/+2
| | | | Mostly when dealing with enc0 interface.
* Copyright and license cleanupRenato Botelho2015-11-091-2/+2
| | | | | | - Remove personal copyright from people who assigned it to employer (ESF) - Remove $Id$ - Remove extra spaces
* EOL whitespace and header consistency for wwwPhil Davis2015-11-091-2/+1
|
* Correction per Phil DavisStephen Beaver2015-11-061-1/+1
|
* First batch of copyright updatesStephen Beaver2015-11-051-2/+3
|
* Preparation #5159 (Javascript refactoring)Stephen Beaver2015-10-011-22/+0
| | | | | | javascript/pfSenseHelpers.js created and populated with common hide/show/disable/enable functions file included via foot.inc Those functions removed from firewall_nat_edit.php to test
* Fixed #5013Stephen Beaver2015-09-211-1/+3
| | | | Incorrect element name used
* Fixed #5013Stephen Beaver2015-09-161-49/+51
|
* Retire PPTP server, fixes #4226:Renato Botelho2015-09-151-11/+1
| | | | | | | - Remove PPTP server and all related code - Bump config version 12.2 - Write upgrade config code to remove pptpd section and also cleanup firewall and NAT rules using PPTP interface or src/des
OpenPOWER on IntegriCloud