HI there, i'v put in place a VPN using OpenVPN. With internet access, this mean when user connecter then can surf on the web using our server ip and bandwidth. I have also installed OpenVPN Web GUI that show me how many user are currently connected on and other details. My Question is : How would it be possible to log every website a user visit based on there ip. all this stored in a log file so it can be read by a script to store information in a database. Anyone know a program or a way to filtre all outgoing traffic made from port 80 ?
Have a look at a program called Squid. It's a proxy server and can be run in transparent mode. Basically it would sit between your clients and the websites - intercepting and processing the http requests. Squid will do logging and lot's of other stuff too (such as making the http requests anonymous if you want it to appear that your clients are accessing the sites from your server) Matt