ipac icon indicating copy to clipboard operation
ipac copied to clipboard

🗻 Self-use mainland China domain whitelist

🗻 iPac

gitpod logo npm contributors prs license

Another China domain whitelist for the SwitchyOmega plugin.

Feature

  • Custom server IP address
  • Custom port
  • Cached query result set
  • Service rollback downgrade
  • Easy-to-maintain website library

Usage

usage demo

  • Open SwitchyOmega and select New Profile
  • Select the PAC profile option with any name you want
  • PAC web site filled in https://ipac.now.sh/ or https://unpkg.com/@ifyour/ipac
  • Click update immediately, then save

For a more detailed usage, please refer to the discussion here. 😉

API

GET /

Param Short Default Description Require
ip ip 127.0.0.1 Default proxy host false
socks5 s 1080 SOCKS5 port false
http h 1087 HTTP port false

Example

  • https://ipac.now.sh/?ip=192.168.199.214&h=1234
  • https://ipac.now.sh/?socks5=1234&http=4321
  • https://ipac.now.sh/?s=1234&h=4321
  • https://ipac.now.sh/?s=1234
  • https://ipac.now.sh/?h=4321

Note: https://unpkg.com/@ifyour/ipac does not support changing proxy IP and port numbers.

Sponsors

License

Licensed under The WTFPL License