Contents

System/OS
2013.11.12 17:43

[mac] Charlesproxy 간단한 설정 내용~

조회 수 12312 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
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/

?