System/OS
2013.11.12 17:43
[mac] Charlesproxy 간단한 설정 내용~
조회 수 12431 댓글 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/
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
70 | System/OS | [linux] 간단한 vi편집기 사용 명령 | hooni | 2003.04.23 | 13525 |
69 | System/OS | [linux] 간단한 NAT 설정 script | hooni | 2003.04.23 | 12650 |
68 | System/OS | [linux] 간단한 find 명령어 설명(업데이트 해야 함) | hooni | 2013.04.23 | 9169 |
67 | System/OS | [linux] yum 업데이트 시 커널 제외하기 | hooni | 2014.09.11 | 1402 |
66 | System/OS | [linux] X환경 GNOME에서 KDE로 바꾸는 법.. | hooni | 2013.04.23 | 12413 |
65 | System/OS | [linux] Xwindow/Xmanager 사용 | hooni | 2003.04.23 | 13385 |
64 | System/OS | [linux] wget 명령 사용 예제 | hooni | 2020.05.26 | 1592 |
63 | System/OS | [linux] vi 편집기 간단한 명령과 환경설정 | hooni | 2003.04.23 | 11406 |
62 | System/OS | [linux] The Ultimate Wget Download Guide With 15 Awesome Examples | hooni | 2020.05.26 | 976 |
61 | System/OS | [linux] ssh에서 원격 파일 전송하기.. | hooni | 2013.04.23 | 14206 |
60 | System/OS | [linux] SSH에 대한 기본 설명과 설치/설정 | hooni | 2013.04.23 | 10651 |
59 | System/OS | [linux] split 명령어 | hooni | 2014.03.11 | 4374 |