proxy using sim data instead of wifi

  1. create an ec2 instance and assign a public IP and open port 8888 to all source ip
  2. ssh login ec2 with -XC argument, -X: enable X11 forwarding, -C: compress all data
    1. this method need X11 window system, so you need a ubuntu
  3. install charles on ec2
    1. wget -q -O – | sudo apt-key add –
    2. sudo sh -c ‘echo deb charles-proxy main > /etc/apt/sources.list.d/charles.list’
    3. sudo apt-get update
    4. sudo apt-get install charles-proxy
  4. key in “charles" on the command line of that ec2, then you will see the charles window shows on your local screen
  5. setup proxy and port in APN
    WhatsApp Image 2018-01-24 at 12.32.45 PM
  6. you will need to wait about 3 min for the “allow connection" confirmation dialog pop up
    after click allow connection, you will see connection go from sim data through the ec2
    Screenshot from 2018-01-24 12-28-05


在下方填入你的資料或按右方圖示以社群網站登入: 標誌

您的留言將使用 帳號。 登出 /  變更 )

Google photo

您的留言將使用 Google 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )


您的留言將使用 Facebook 帳號。 登出 /  變更 )

連結到 %s