<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Routing issues LDAP AD server profiles in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/routing-issues-ldap-ad-server-profiles/m-p/226771#M65284</link>
    <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/21054"&gt;@rcaduser&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have a special routing/firewall desgin here &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; and I have some additional questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you have a zone protection profile applied to the zones of e1/12.2 and e1/12.3? If yes, which protections are enabled?&lt;/LI&gt;&lt;LI&gt;When you did the packet capture on the firewall, did you enable "Pre parse match"?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Right now my assumption is, that the reply traffic is an IP spoofing attack for the firewall. Because whem the firewall sends an LDAP query out of vlan 2 towards the AD, the reply traffic obviously gets also back to the interface e1/12.2. But for this reply packet the source IP is the AD server IP - an IP that belongs to vlan 3 where the firewall is also directly connected. Because of that the firewall expects traffic from AD on e1/12.3 and not on e1/12.2 so it drops the packets arriving there.&lt;/P&gt;&lt;P&gt;In your final test when you changed the service route you have exactly the opposite that when connecting to the sun LDAP the source is e1/12.3 and then the firewall receives a reply from a server in vlan 2 that it does not expect on e1/12.3 so it dropps it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So solve this you could configure IP based service routes instead of feature based. Or: does the firewall really need interfaces in noth vlans when the routing is done on the core switch? In this case I would use a transport network between the firewall and the core switch instead of connecting the firewall to both vlans, but probably there are other reasons why you configured it this way.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 23:52:14 GMT</pubDate>
    <dc:creator>Remo</dc:creator>
    <dc:date>2018-08-10T23:52:14Z</dc:date>
    <item>
      <title>Routing issues LDAP AD server profiles</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/routing-issues-ldap-ad-server-profiles/m-p/226745#M65283</link>
      <description>&lt;P&gt;Hi, Im trying to set up Group mapping and foudn an interesting issue that I wabnted to put out here see if theres any ideas that can help us out. This is the situation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hardware&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ethernet1/12 is trunk with subinterfaces&lt;/LI&gt;&lt;LI&gt;ethernet1/12.2 vlan&amp;nbsp;2 tagged subinterface with IP = PA&lt;/LI&gt;&lt;LI&gt;ethernet1/12.3 clan 3 tagged subinterface with IP = Y&lt;/LI&gt;&lt;LI&gt;AD server is on vlan 3 with IP = AD&lt;/LI&gt;&lt;LI&gt;Core swith is a Cisco Nexus&lt;/LI&gt;&lt;LI&gt;LDAP server is on vlan 2&lt;/LI&gt;&lt;LI&gt;PA 5050, PanOS 8.0.10&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Known&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vlan 2 subinterface known to work (NTP service route ises this interface to reach our NTP server)&lt;/LI&gt;&lt;LI&gt;vlan 3 subinterface known to work (UID agents on AD servers on vlan 3 are succesfully connected)&lt;/LI&gt;&lt;LI&gt;Gateway interfaces for both vlans are in the Nexus core switch&lt;/LI&gt;&lt;LI&gt;ACEs at the core have communication between vlan 2 and 3 open (known to work throughout all devices on both vlans able to communicate between each other)&lt;/LI&gt;&lt;LI&gt;LDAP Service route set to use ethernet1/12.2 with IP = PA&lt;/LI&gt;&lt;LI&gt;All ldap connections are using port 389&lt;/LI&gt;&lt;LI&gt;LDAP server profile (sun type)&amp;nbsp;is used for various authentication profiles succesfully&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Troubleshooting:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Noticed at first while setting up an LDAP server profile with active-directory type that it would not autopopulate the Base DN as it should. The LDAP server profile with the sun type does this succesfully&lt;/LI&gt;&lt;LI&gt;System monitor shows an connect-ldap-server-failure error&lt;/LI&gt;&lt;LI&gt;Ran a packet capture at the Active Directory server with these results (AD server=AD, PA vlan2=PA)&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;PA&amp;nbsp;-&amp;gt; AD --- SYN&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;PA&lt;/SPAN&gt; --- SYN/ACK&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PA&lt;/SPAN&gt; -&amp;gt; &lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;--- SYN (retransmission)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;--- SYN&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(retransmission)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;--- SYN/ACK&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(retransmission)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;--- SYN&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(retransmission)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;AD&amp;nbsp;-&amp;gt; PA&amp;nbsp;--- SYN/ACK&amp;nbsp;(retransmission)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;---&amp;nbsp;RST&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Ran a packet capture on the PA with these results&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;--- SYN&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;--- SYN&lt;SPAN&gt;&amp;nbsp;(retransmission)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;--- SYN&lt;SPAN&gt;&amp;nbsp;(retransmission)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PA&amp;nbsp;&lt;/SPAN&gt;-&amp;gt; &lt;SPAN&gt;AD&amp;nbsp;&lt;/SPAN&gt;--- SYN&lt;SPAN&gt;&amp;nbsp;(retransmission)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Pinging AD from vlan 3 subinterface (IP=Y) is succesfull&lt;/LI&gt;&lt;LI&gt;Pinging AD from vlan 2 subinterface (IP=PA) fails on the PA side but request and reply are visible on the AD side&lt;/LI&gt;&lt;LI&gt;Finally tested by changing the service route for the LDAP service to use vlan 3 subinterface with IP=Y&lt;UL&gt;&lt;LI&gt;LDAP server profile for AD server type is succesfull&lt;/LI&gt;&lt;LI&gt;LDAP server profile for (LDAP)sun server type now fails in the same way&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts on this behaviour? in any other scenario across our network, communication between devices on these two vlans works perfectly, why does it not with the PA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-S&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 20:17:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/routing-issues-ldap-ad-server-profiles/m-p/226745#M65283</guid>
      <dc:creator>rcaduser</dc:creator>
      <dc:date>2018-08-10T20:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Routing issues LDAP AD server profiles</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/routing-issues-ldap-ad-server-profiles/m-p/226771#M65284</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/21054"&gt;@rcaduser&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have a special routing/firewall desgin here &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; and I have some additional questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you have a zone protection profile applied to the zones of e1/12.2 and e1/12.3? If yes, which protections are enabled?&lt;/LI&gt;&lt;LI&gt;When you did the packet capture on the firewall, did you enable "Pre parse match"?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Right now my assumption is, that the reply traffic is an IP spoofing attack for the firewall. Because whem the firewall sends an LDAP query out of vlan 2 towards the AD, the reply traffic obviously gets also back to the interface e1/12.2. But for this reply packet the source IP is the AD server IP - an IP that belongs to vlan 3 where the firewall is also directly connected. Because of that the firewall expects traffic from AD on e1/12.3 and not on e1/12.2 so it drops the packets arriving there.&lt;/P&gt;&lt;P&gt;In your final test when you changed the service route you have exactly the opposite that when connecting to the sun LDAP the source is e1/12.3 and then the firewall receives a reply from a server in vlan 2 that it does not expect on e1/12.3 so it dropps it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So solve this you could configure IP based service routes instead of feature based. Or: does the firewall really need interfaces in noth vlans when the routing is done on the core switch? In this case I would use a transport network between the firewall and the core switch instead of connecting the firewall to both vlans, but probably there are other reasons why you configured it this way.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 23:52:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/routing-issues-ldap-ad-server-profiles/m-p/226771#M65284</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2018-08-10T23:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Routing issues LDAP AD server profiles</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/routing-issues-ldap-ad-server-profiles/m-p/226779#M65286</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/21054"&gt;@rcaduser&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Baring the other reasons why this was likely setup I'm going to agree with&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/16592"&gt;@Remo&lt;/a&gt;&amp;nbsp;and say that this&amp;nbsp;&lt;EM&gt;should&lt;/EM&gt; be setup as one transport link between the core and the firewall, and it shouldn't have both VLANs directly connected since you're already routing on the core. Ideally at that point you would simply let the core handle the routing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 02:49:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/routing-issues-ldap-ad-server-profiles/m-p/226779#M65286</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2018-08-11T02:49:53Z</dc:date>
    </item>
  </channel>
</rss>

