apache2 forward proxy to restrict specific external ips to specific client ip's? -
suppose want following clients access specific internet servers behind apache2 forward proxy:
client-1-ip: www.google.com client-2-ip: www.gmail.com client-3-ip: www.cnn.com client-4-ip: www.chess.com
is possible? running apache 2.4.10 on debian 8. currently, allowing specific clients access entire internet via configuration values, want able specify specific client can access specific internet server:
<virtualhost *:8080> proxyrequests on proxyvia on <proxy "*"> order deny,allow deny allow <ip-1> allow <ip-2> allow <ip-3> </proxy> serveradmin webmaster@localhost documentroot /var/www/html errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined </virtualhost>
thanks.
Comments
Post a Comment