Project

General

Profile

Bug #17102

Updated by Marcos M about 14 hours ago

Creating a UDP rule with EIM enabled on Nexus does not result in a rule with @eimnat@ set. set: 
 {{collapse 
 <pre> 
 +              <rule> 
 +                  <source> 
 +                      <network>1.2.3.4</network> 
 +                  </source> 
 +                  <sourceport></sourceport> 
 +                  <descr></descr> 
 +                  <target>wanip</target> 
 +                  <target_subnet></target_subnet> 
 +                  <interface>wan</interface> 
 +                  <poolopts></poolopts> 
 +                  <source_hash_key></source_hash_key> 
 +                  <protocol>udp</protocol> 
 +                  <destination> 
 +                      <network>wan</network> 
 +                  </destination> 
 +                  <updated> 
 +                      <time>1789655999</time> 
 +                      <username><![CDATA[(system)]]></username> 
 +                  </updated> 
 +                  <created> 
 +                      <time>1789655999</time> 
 +                      <username><![CDATA[(system)]]></username> 
 +                  </created> 
 +              </rule> 
 </code></pre> 
 }} 

 Compared to PHP: 
 {{collapse 
 <pre> 
 +              <rule> 
 +                  <source> 
 +                      <network>1.2.3.0/24</network> 
 +                  </source> 
 +                  <sourceport></sourceport> 
 +                  <descr></descr> 
 +                  <target>wanip</target> 
 +                  <target_subnet></target_subnet> 
 +                  <interface>wan</interface> 
 +                  <poolopts></poolopts> 
 +                  <source_hash_key></source_hash_key> 
 +                  <eimnat></eimnat> 
 +                  <protocol>udp</protocol> 
 +                  <destination> 
 +                      <network>wan</network> 
 +                  </destination> 
 +                  <updated> 
 +                      <time>1789656359</time> 
 +                      <username><![CDATA[admin@10.0.50.50 (Local Database)]]></username> 
 +                  </updated> 
 +                  <created> 
 +                      <time>1789656359</time> 
 +                      <username><![CDATA[admin@10.0.50.50 (Local Database)]]></username> 
 +                  </created> 
 +              </rule> 
 </code></pre> 
 }} 

 Note that the PHP GUI also hides the EIM option whenever any protocol except for @UDP@ is selected - the Nexus GGUI should do the same. Additionally the outbound rules page should show "Port Options" with respective icons for the rules rather than simply "Static Port". 

 Originally reported on the forum: 
 https://forum.netgate.com/topic/201391/experimental-eim-nat-can-t-be-activated-in-outbound-nat

Back