01-23-2018 04:25 AM - edited 02-21-2020 07:11 AM
Hello,
We are runnig ASA 5510 with 9.0.1 as vpn gateway and we recently found out that it is possible to query public ip address for example for nbtstat via udp for connected vpn clients, at least the asa answer on public ip on udp 137 and allow access to random vpn connected client.
We see that this is probably comming from nat on public interface for vpn clients going to internet (we are using tunnel all and allowing the users via dynamic pat to go out the same public interface and ip for internet), for that we allowed connection between hosts on the same interface.
So if the vpn user somehow open a udp session to outside there is nat entry created and when the public ip is queried we can see the info from the vpn client (domain membership, user logged in etc).
Till now i was thinkig that only outgoing traffic is possible but incoming also, at least for UDP.
Can some one explain me how this is possible or better to say how to avoid it?
disabling the nat works but then the users are not able to reach internet resources.
Thanks in advance,
daniel
01-23-2018 07:58 AM
Hi Daniel,
This is really interesting could you share the sanitized nat configuration and detail what you mean by "if the vpn user somehow open a udp session to outside". What are the source and destination ports and IPs ? Also from where are you initiating the query for the ASAs public IP ?
NAT for U-turn VPN is normally this is done something like this:
ciscoasa(config)# object network obj-AnyconnectPool
ciscoasa(config-network-object)# subnet 192.168.10.0 255.255.255.0
ciscoasa(config-network-object)# nat (outside,outside) dynamic interface
and should not allow connections initiated form outside.
Also the ACL on the outside interface should block undesired traffic being initiated form outside.
HTH
Bogdan
01-23-2018 09:23 AM
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