Title: HowTo: Content filter profile with bypass link. Post by: whoiam55 on Monday 29 March 2010, 04:12:51 am What you need.
............................ Endian (of course) winscp putty Follow these steps 1. Go to Proxy > content filter > Create a new profile and name it bypass or whatever you want. (it must show something like this bypass (ContentX) remember this x number) 2. Go to Proxy > Access Policy > add a new policy and select the bypass profile. 3. Go to System > ssh access > enable ssh access. 4. fireup winscp or putty > open /etc/dansguardian/dansguardianfX.conf file where x is the number I ask you to remember (if you are using winscp you can right click on the file to edit it). 5. Browse to the section where it say Code: # temporary bypass blocks Change the bypass=0 to whatever you want.(The value is in second, 300 is good) 6. In the same file, browse to the section where it say Code: #htmltemplate = 'custom.html' Code: htmltemplate= 'bypass.html' 7.make a copy of /usr/share/dansguardian/languages/select_your_language/templete.html file and name it bypass.html and place it to /usr/share/dansguardian/languages/select_your_language/ folder 8. Open /usr/share/dansguardian/languages/select_your_language/bypass.html file and insert the following code in suitable place make sure you don't break html rules. Code: <a href="-BYPASS-">Click here to bypass</a> 9. Open putty and issue this command Code: /etc/init.d/dansguardian reload Title: Re: HowTo: Content filter profile with bypass link. Post by: gyp_the_cat on Tuesday 30 March 2010, 08:55:22 pm Wow :)
Thanks whoami, will be implementing your work around soon! Always a bit of functionality I've wanted in Endian the bypass feature :) Title: Re: HowTo: Content filter profile with bypass link. Post by: xxxx on Friday 30 April 2010, 04:41:15 am Works great but can the bypass password protected?
Title: Re: HowTo: Content filter profile with bypass link. Post by: whoiam55 on Monday 03 May 2010, 02:23:10 pm Works great but can the bypass password protected? yes, you could include a password, Just read up on dansguardian wiki. |