cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1844
Views
0
Helpful
4
Replies

AnyConnect and SRV

remi-reszka
Level 1
Level 1

Hello,

Does anybody know if I can initiate AnyConnect VPN session using SRV instead of an IP address or FQDN?

Thanks in advance.

Remy

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

I do not see the use case here, end you are mapping back to FQDN or IP here ?

 

please explain more of requirement.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

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.

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