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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -