x-forwarded-for1 [ Apache ] Proxy 환경에서 client ip 확인 (X-Forwarded-For) Apache 를 사용하는 Proxy 환경에서 최종 client ip 를 확인 하기 위해 http header규격인 X-Forwarded-For 를 사용하여 apache 의 access log 로 출력 해 보았습니다. 제가 테스트를 해본 환경은 아래와 같습니다. 위의 환경에서 Apache Service Server 에 X-Forwarded-For 라는 header 로 client pc 의 ip 를 출력 하는 예제 입니다. 호출은 client pc 브라우저에서 http://192.168.101.1/ 로 하였습니다. 1. Apache Proxy Server (192.168.101.1) 설정 - httpd.conf ($APACHE_HOME/conf) LoadModule proxy_module modules/mo.. 2020. 4. 17. 이전 1 다음