for what I know, this is possible with just Tableau configuration.
Maybe it´s necessary change something in the Windows security configuration.
Paulo, this is something that would normally be controlled by a firewall or load balancer in front of the Tableau Server infrastructure. Tableau Server itself has no such functionality.
Not saying it would be impossible (Server is, amongst other things, an Apache/Tomcat application, more or less) but it would be far simpler to do it externally to Tableau itself.