Apache Authentication by IP and Password at the Same Time

If you like to restrict access to a directory on your Apache web server to users from a fixed IP range without password, and the rest of the world with password authentication the httpd.conf section can look like this: <Directory “/var/www/htdocs/protected”> AuthType Basic   AuthName “Protected Area”   AuthUserFile /etc/apache/passwd   Require valid-user   Order …

Continue reading ‘Apache Authentication by IP and Password at the Same Time’ »

L2TP tunnel between two cisco routers

Problem: a Cisco 1941 [15.1(2)T2] (Client) tries to connect to an Cisco7300 [12.3(22)] (Server) using L2TP, but after successful authentication of the client the server drops the connection. Solution: The client tried to authenticate the server, but the server had no password for authentication. Normally only the client authenticates to the server in ISP environments. …

Continue reading ‘L2TP tunnel between two cisco routers’ »