December 17, 2017, 01:49:36 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Allowing a certain users to access internet  (Read 2387 times)

Offline kenchix1

  • Tux Awared
  • **
  • Posts: 37
Allowing a certain users to access internet
« on: March 19, 2004, 08:38:14 AM »
I only want to allow a certain range of ip address to access the internet. Im using NAT and transparent proxying (base from the tutorial section).
I then configure the allowed users with static address in dhcpd.conf. Would it be ok if i put this on my squid.conf file to restrict others :

acl allowd_ip src 192.168.1.10-192.168.1.30/32
http_access allow allowd_ip

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Allowing a certain users to access internet
« Reply #1 on: March 19, 2004, 12:08:24 PM »
It should work. i think you don't need to put subnet mask.. else is fine..

Offline kenchix1

  • Tux Awared
  • **
  • Posts: 37
Allowing a certain users to access internet
« Reply #2 on: March 22, 2004, 02:10:06 AM »
thank you very much sir. :)