4,357,036 th visitor since 2017.2.1 ( Today : 614 )
Computer ???
No. 489
Name. swindler
Subject. Proxy 서버 squid 3.x 설정 관련
Main Cate. Linux
Sub Cate.
Date. 2018-01-09 11:56
Hit. 3081 (125.131.199.20)
File.
/etc/squid/squid.conf 파일에 아래와 같이 넣어야, 서버측에서 Proxy Server IP에서 접속한 것으로 처리된다.



via off
forwarded_for off
follow_x_forwarded_for deny all
request_header_access X-Forwarded-For deny all



그리고, 사용자 인증 관련해서
/etc/squid/squid.conf 에 다음과 같이 추가함

auth_param digest program /usr/lib/squid/digest_pw_auth -c /etc/squid/passwords
auth_param digest realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated


실제 passwords 파일을 만들때는 다음과 같이 사용함
htdigest passwords proxy swindler
(처음에는 -c 옵션을 주어야 passwords 파일이 생성됨)

그런데, 파이어폭스에서 어떻게 auth 창이 뜨는지를 모르겠음.



[바로가기 링크] : http://coolx.net/cboard/computer/489



swindler 확인필요 -> 사용자 인증 제대로 안 되는듯. 2020-10-16
Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog