<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Citrix ADC / NetScaler Client IP or Subnet Black and Whitelist	</title>
	<atom:link href="https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/</link>
	<description>-={ The Nutanix and EUC GURU }=-</description>
	<lastBuildDate>Thu, 28 Nov 2024 14:12:08 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		By: Werner Maes		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-3090</link>

		<dc:creator><![CDATA[Werner Maes]]></dc:creator>
		<pubDate>Thu, 28 Nov 2024 14:12:08 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-3090</guid>

					<description><![CDATA[Hello Jeroen

Thanks for your reply.
Your suggestion works, so I&#039;ll stick to that.]]></description>
			<content:encoded><![CDATA[<p>Hello Jeroen</p>
<p>Thanks for your reply.<br />
Your suggestion works, so I&#8217;ll stick to that.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeroen		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-3089</link>

		<dc:creator><![CDATA[Jeroen]]></dc:creator>
		<pubDate>Thu, 28 Nov 2024 14:02:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-3089</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-3080&quot;&gt;Werner Maes&lt;/a&gt;.

I cant remember it anymore. But I also tried that in the beginning. As, for me, that makes more sense ;) But I cant remember why it wasnt working.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-3080">Werner Maes</a>.</p>
<p>I cant remember it anymore. But I also tried that in the beginning. As, for me, that makes more sense 😉 But I cant remember why it wasnt working.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Werner Maes		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-3080</link>

		<dc:creator><![CDATA[Werner Maes]]></dc:creator>
		<pubDate>Tue, 26 Nov 2024 09:40:08 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-3080</guid>

					<description><![CDATA[Hello Jeroen
Thanks for your post.
Would it be possible to use CLIENT.IP.SRC.IN_SUBNET in combination with a pattern set? Instead of listing all the subnet from 32 to 24 E.g. below
I&#039;ve tried something like this but apparently I cannot seem to use CLIENT.IP.SRC.IN_SUBNET in combination with a pattern set.

Any thoughts?

# Subnet Blacklist
add policy patset PATSET_IP_Blacklist
bind policy patset PATSET_IP_Blacklist &quot;192.168.2.0/24&quot; -index 1
bind policy patset PATSET_IP_Blacklist &quot;192.168.2.0/25&quot; -index 2
add policy expression POLEXP_IP_Blacklist &quot;(CLIENT.IP.SRC.IN_SUBNET(\&quot;PATSET_IP_Blacklist\&quot;) 
add responder action RESPACT_Blocked respondwith &quot;This IP address (&quot;+ CLIENT.IP.SRC +&quot;) is blocked to connect to this service.\&quot;&quot;
add responder policy RESPOL_IP_Blacklist POLEXP_IP_Blacklist RESPACT_Blocked]]></description>
			<content:encoded><![CDATA[<p>Hello Jeroen<br />
Thanks for your post.<br />
Would it be possible to use CLIENT.IP.SRC.IN_SUBNET in combination with a pattern set? Instead of listing all the subnet from 32 to 24 E.g. below<br />
I&#8217;ve tried something like this but apparently I cannot seem to use CLIENT.IP.SRC.IN_SUBNET in combination with a pattern set.</p>
<p>Any thoughts?</p>
<p># Subnet Blacklist<br />
add policy patset PATSET_IP_Blacklist<br />
bind policy patset PATSET_IP_Blacklist &#8220;192.168.2.0/24&#8221; -index 1<br />
bind policy patset PATSET_IP_Blacklist &#8220;192.168.2.0/25&#8221; -index 2<br />
add policy expression POLEXP_IP_Blacklist &#8220;(CLIENT.IP.SRC.IN_SUBNET(\&#8221;PATSET_IP_Blacklist\&#8221;)<br />
add responder action RESPACT_Blocked respondwith &#8220;This IP address (&#8220;+ CLIENT.IP.SRC +&#8221;) is blocked to connect to this service.\&#8221;&#8221;<br />
add responder policy RESPOL_IP_Blacklist POLEXP_IP_Blacklist RESPACT_Blocked</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: NetScaler – Securing Microsoft Exchange Hybrid Deployments		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-1531</link>

		<dc:creator><![CDATA[NetScaler – Securing Microsoft Exchange Hybrid Deployments]]></dc:creator>
		<pubDate>Sun, 04 Feb 2024 09:38:42 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-1531</guid>

					<description><![CDATA[[&#8230;] thanks to&#160;Jeroen Tielen&#160;as his blog post about&#160;IP Black and Whitelisting&#160;with Citrix ADC was the missing impulse for creating this [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] thanks to&nbsp;Jeroen Tielen&nbsp;as his blog post about&nbsp;IP Black and Whitelisting&nbsp;with Citrix ADC was the missing impulse for creating this [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sibgat		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-315</link>

		<dc:creator><![CDATA[Sibgat]]></dc:creator>
		<pubDate>Wed, 22 Mar 2023 06:21:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-315</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-314&quot;&gt;Steve&lt;/a&gt;.

Yeah, you can bind same responder policy to Citrix gateway virtual server.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-314">Steve</a>.</p>
<p>Yeah, you can bind same responder policy to Citrix gateway virtual server.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-314</link>

		<dc:creator><![CDATA[Steve]]></dc:creator>
		<pubDate>Thu, 16 Feb 2023 21:23:40 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-314</guid>

					<description><![CDATA[Great Post.  Wondering if something similar can be done for the Gateway in Citrix DaaS?  Specifically, I need an expression to blacklist all external access to a delivery group and allow from internal subnets.  I know it&#039;s a little off topic but could use a hand.  Thanks in advance!]]></description>
			<content:encoded><![CDATA[<p>Great Post.  Wondering if something similar can be done for the Gateway in Citrix DaaS?  Specifically, I need an expression to blacklist all external access to a delivery group and allow from internal subnets.  I know it&#8217;s a little off topic but could use a hand.  Thanks in advance!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeroen Tielen		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-313</link>

		<dc:creator><![CDATA[Jeroen Tielen]]></dc:creator>
		<pubDate>Sun, 31 Jan 2021 18:43:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-313</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-312&quot;&gt;Rogier Winter&lt;/a&gt;.

Ho Rogier sorry for the late reply. But yes use the CLI ;)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-312">Rogier Winter</a>.</p>
<p>Ho Rogier sorry for the late reply. But yes use the CLI 😉</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rogier Winter		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-312</link>

		<dc:creator><![CDATA[Rogier Winter]]></dc:creator>
		<pubDate>Tue, 26 Jan 2021 16:09:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-312</guid>

					<description><![CDATA[Hello Jeroen, 

I&#039;ve found out my problem : that when you use the gui, you&#039;ve have to use the expression:  
(via CLI it parses the string/format) 

Thanks

(CLIENT.IP.SRC + &quot;/32&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(31) + &quot;/31&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(30) + &quot;/30&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(29) + &quot;/29&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(28) + &quot;/28&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(27) + &quot;/27&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(26) + &quot;/26&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(25) + &quot;/25&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;) &#124;&#124; (CLIENT.IP.SRC.SUBNET(24) + &quot;/24&quot;).EQUALS_ANY(&quot;PATSET_IP_Whitelist&quot;)]]></description>
			<content:encoded><![CDATA[<p>Hello Jeroen, </p>
<p>I&#8217;ve found out my problem : that when you use the gui, you&#8217;ve have to use the expression:<br />
(via CLI it parses the string/format) </p>
<p>Thanks</p>
<p>(CLIENT.IP.SRC + &#8220;/32&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(31) + &#8220;/31&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(30) + &#8220;/30&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(29) + &#8220;/29&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(28) + &#8220;/28&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(27) + &#8220;/27&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(26) + &#8220;/26&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(25) + &#8220;/25&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;) || (CLIENT.IP.SRC.SUBNET(24) + &#8220;/24&#8221;).EQUALS_ANY(&#8220;PATSET_IP_Whitelist&#8221;)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rogier		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-311</link>

		<dc:creator><![CDATA[Rogier]]></dc:creator>
		<pubDate>Tue, 26 Jan 2021 13:51:50 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-311</guid>

					<description><![CDATA[Jeroen,  

i get stuck with the .NOT expression in the  add responder policy,  it keeps telling me expression systax error,  how to get the &quot;NOT&quot; condition in the policy, i&#039;ve tryed also the .! or ( xxx.!) but it does not seem te work  
NS12.1.60.17 
thanks]]></description>
			<content:encoded><![CDATA[<p>Jeroen,  </p>
<p>i get stuck with the .NOT expression in the  add responder policy,  it keeps telling me expression systax error,  how to get the &#8220;NOT&#8221; condition in the policy, i&#8217;ve tryed also the .! or ( xxx.!) but it does not seem te work<br />
NS12.1.60.17<br />
thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeroen Tielen		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-310</link>

		<dc:creator><![CDATA[Jeroen Tielen]]></dc:creator>
		<pubDate>Thu, 12 Nov 2020 15:16:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-310</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-309&quot;&gt;PSun&lt;/a&gt;.

Your welcome Penny Sun.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-309">PSun</a>.</p>
<p>Your welcome Penny Sun.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: PSun		</title>
		<link>https://www.jeroentielen.nl/citrix-adc-netscaler-client-ip-or-subnet-black-and-whitelist/#comment-309</link>

		<dc:creator><![CDATA[PSun]]></dc:creator>
		<pubDate>Mon, 26 Oct 2020 23:01:49 +0000</pubDate>
		<guid isPermaLink="false">https://www.jeroentielen.nl/?p=7006#comment-309</guid>

					<description><![CDATA[Jeroen - thank you for these great instructions for configuring a white/blacklist responder policy on the Netscaler. I recently moved my ADCs to AWS and had a hard time figuring out how to restrict access to an AG. Your instructions worked like a charm! Set up a whitelist and added all my allowed subnets. Voila! Thanks again for taking time to write this up and helping the community. Cheers!]]></description>
			<content:encoded><![CDATA[<p>Jeroen &#8211; thank you for these great instructions for configuring a white/blacklist responder policy on the Netscaler. I recently moved my ADCs to AWS and had a hard time figuring out how to restrict access to an AG. Your instructions worked like a charm! Set up a whitelist and added all my allowed subnets. Voila! Thanks again for taking time to write this up and helping the community. Cheers!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
