Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure dedicated port for certain server access

mir4take
Occasional Advisor

Configure dedicated port for certain server access

Hi Gurus,

I need your advice. Is it possible to configure dedicated port for certain server access? Let say three server connected to one load balancer. The three servers, named A, B and C and load balancer we named it as LB. Can we configure so that ONLY LB can access the three servers using through port 8765? Please find attached diagram for better understanding.

 

Thanks guys

1 REPLY
BowlesCR
Advisor

Re: Configure dedicated port for certain server access

You could do that with a firewall of sorts on the servers, or between the servers and the LB if one exists.

I'm a Cisco guy, so my example would be for a Cisco firewall ACL:
permit tcp host <LB IP> host <A IP> eq 8765
deny tcp any host <A IP> eq 8765
permit tcp host <LB IP> host <B IP> eq 8765
deny tcp any host <B IP> eq 8765
permit tcp host <LB IP> host <C IP> eq 8765
deny tcp any host <C IP> eq 8765