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/
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
142 | System/OS | [linux] ssh에서 원격 파일 전송하기.. | hooni | 2013.04.23 | 14159 |
141 | System/OS | [linux] The Ultimate Wget Download Guide With 15 Awesome Examples | hooni | 2020.05.26 | 801 |
140 | System/OS | [linux] vi 편집기 간단한 명령과 환경설정 | hooni | 2003.04.23 | 11359 |
139 | System/OS | [linux] wget 명령 사용 예제 | hooni | 2020.05.26 | 1436 |
138 | System/OS | [linux] Xwindow/Xmanager 사용 | hooni | 2003.04.23 | 13336 |
137 | System/OS | [linux] X환경 GNOME에서 KDE로 바꾸는 법.. | hooni | 2013.04.23 | 12365 |
136 | System/OS | [linux] yum 업데이트 시 커널 제외하기 | hooni | 2014.09.11 | 1260 |
135 | System/OS | [linux] 간단한 find 명령어 설명(업데이트 해야 함) | hooni | 2013.04.23 | 9111 |
134 | System/OS | [linux] 간단한 NAT 설정 script | hooni | 2003.04.23 | 12599 |
133 | System/OS | [linux] 간단한 vi편집기 사용 명령 | hooni | 2003.04.23 | 13456 |
132 | System/OS | [linux] 계정관리하기(내공쌓기) | hooni | 2003.04.23 | 13157 |
131 | System/OS | [linux] 기본 명령어 (내공쌓기) | hooni | 2003.04.23 | 14333 |