gmail allow

Protecting your Linux box
Post Reply
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

gmail allow

Post by majidnazeer »

Hi All!

I am using fedora 2. I allow different web site through ACL. But I want to allow gmail web site for only one specific user. How can i block others? through ACL everybody can access this web site.


Please help
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear majidnazeer,
Salam,

This will help you.

Code: Select all

acl allowgmail src 192.168.0.10/255.255.255.255
acl gmail dstdomain gmail.com
http_access allow allowgmail gmail
http_access deny gmail
Best Regards.
Farrukh Ahmed
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

gmail allow

Post by majidnazeer »

Dear Farrukh!
acl allowgmail src 192.168.0.10/255.255.255.255
acl gmail dstdomain gmail.com
http_access allow allowgmail gmail
http_access deny gmail
through this process particular Ip could not be access gmail. everything is blocked.
nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Re: gmail allow

Post by nomankhn »

majidnazeer wrote:Dear Farrukh!
acl allowgmail src 192.168.0.10/255.255.255.255
acl gmail dstdomain gmail.com
http_access allow allowgmail gmail
http_access deny gmail
through this process particular Ip could not be access gmail. everything is blocked.
Dear majidnazeer

First to make their rules for gmail
then make rules for users
then apply that thing.

http://squid.visolve.com/squid/squid24s ... ntrols.htm
http://www.pcquest.com/content/linux/ha ... 071104.asp
http://www.adityanag.org/articles/squid2.htm

Regards
Noman Liaquat Khanzada Rajput
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

gmail allow

Post by majidnazeer »

Dear Farrukh & Noman!

Thanks I successfully implement rule.

Regard's
Majid Nazeer
nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Re: gmail allow

Post by nomankhn »

majidnazeer wrote:Dear Farrukh & Noman!

Thanks I successfully implement rule.

Regard's
Majid Nazeer

Dear Majidnazeer,

Thats Great, Allah Na Farrukh jasa logon ko help karna ka lia duniya ma born kia ha, Farrukh is really nice and supporting :p.

I am still student, Learning Linux, what Linux Want.

Farrukh is really Guru.

Best of Luck Farrukh Ahmed.

Regards
Noman Liaquat Khanzada Rajput
majidnazeer
Naik
Posts: 60
Joined: Wed Oct 05, 2005 12:37 pm

gmail allow

Post by majidnazeer »

Yes Farrukh is really supporting person. I appreciate him.


Thanks
Majid Nazeer
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear nomankhn,
Salam,

I have no idea why you are appreciating me :P

might be this is called as Joota ;)

Best Regards.
Farrukh Ahmed
nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Re:

Post by nomankhn »

LinuxFreaK wrote:Dear nomankhn,
Salam,

I have no idea why you are appreciating me :P

might be this is called as Joota ;)

Best Regards.
Sir ma ap ko kyon jota maroon ga, mara koi word asa nahi ha, lakin agar aek bat ka kai matlab nikal lia jayan to phir yeah to samjhna wala par depend karta ha.

Regards
Noman Liaquat Khanzada Rajput
Money is not everything
Post Reply