System/OS
2013.11.12 17:43
[mac] Charlesproxy 간단한 설정 내용~
조회 수 12328 댓글 0
net.ipv4.ip_forward
#!/bin/sh
sudo route change default -interface en0
sudo sysctl -w net.inet.ip.forwarding=1
sudo sysctl -w net.inet.ip.fw.enable=1
sudo ipfw delete 00110
sudo ipfw add 00110 fwd 127.0.0.1,8888 tcp from not me to any dst-port 80
sudo route change default -interface en2
sudo sysctl -w net.inet.ip.forwarding=1
sudo sysctl -w net.inet.ip.fw.enable=1
sudo ipfw delete 00110
sudo ipfw add 00110 fwd 127.0.0.1,8888 tcp from not me to any dst-port 80
[출처] http://www.charlesproxy.com/
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
130 | System/OS | [perl] 펄 환경 설정해야 할거 ㅋㅋ | hooni | 2003.04.23 | 14992 |
129 | System/OS | [linux] 이기종간의 파일 공유(Samba) | hooni | 2003.04.23 | 14900 |
128 | System/OS | [linux] 웹로그분석기(webalizer) 설치 & 팁 | hooni | 2003.04.23 | 14882 |
127 | System/OS | [linux] 랜카드 2개 설정 & iptables 로 사설 ip.. | hooni | 2003.04.23 | 14737 |
126 | System/OS | [sql] 중복데이터 삭제 쿼리 | hooni | 2013.04.23 | 14734 |
125 | System/OS | [linux] 리눅스 활용 팁^^ | hooni | 2003.04.23 | 14629 |
124 | System/OS | [linux] sendmail 설정/사용 | hooni | 2003.04.23 | 14570 |
123 | System/OS | [mac] SVN 1.8 업데이트 방법 | hooni | 2013.09.24 | 14569 |
122 | System/OS | [linux] 아파치설치/설정(CGI부분) | hooni | 2003.04.23 | 14568 |
121 | System/OS | [doc] 네트워크 장비와 라우터 설정 방법 발표 자료 | hooni | 2013.04.23 | 14493 |
120 | System/OS | [linux] 아파치설치/설정 | hooni | 2003.04.23 | 14492 |
119 | System/OS | [linux] 기본 명령어 (내공쌓기) | hooni | 2003.04.23 | 14333 |