05-21-2019 09:31 AM
Hello,
Does anybody know if I can initiate AnyConnect VPN session using SRV instead of an IP address or FQDN?
Thanks in advance.
Remy
05-21-2019 09:36 AM
I do not see the use case here, end you are mapping back to FQDN or IP here ?
please explain more of requirement.
05-21-2019 09:50 AM
Hi BB and thank you for your comments. What I need to achieve is to redirect the AnyConnect connection requests to different port over same public IP address based on the FQDN prefix, say ac01.domain.com would go over to IP address 1.1.1.1 and port 4431, say ac02.domain.com would go over to 1.1.1.1:4432 and so on. For certain http, https, sip, etc. services whether tcp or udp it can be used SRV DNS record but would AnyConnect support it? I am currently doing some tests but it does not work so far.
I create SRV record:
Name: _http._tcp.ac01.domain.com.
Priority: 10
Weight: 0
Port: 4431
Target: sslvpn1.domain.com
And then create A record:
Name: sslvpn1.domain.com
Record: 1:1:1:1
And then trying to establish the AnyConnect session by using ac01.domain.com. Would it work this way?
Remy
10-26-2022 07:37 AM
Did you ever test this? My use case would be to have a primary and secondary Anyconnect connection (prod and DR) so if prod were unavailable it would fail to DR IP behind the SRV record.
10-27-2022 06:19 AM
Hello Danny,
In my question I was referring to SRV support to achieve port redirection based on the FQDN prefix. AnyConnect does not support SVR records. I think in your case it can be achieved with the AnyConnect profile that you can create on ASA ASDM where you can specify the primary and secondary server, I think you can specify even more servers if needed. Hope that helps.
Best regards,
Remi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide