Sign inSign up

whitemay/ros-ipset

By whitemay

•Updated over 5 years ago

an java service. can work with RouterOS, put resolved addresses of gfwlist into an address-list.

Image
0

973

whitemay/ros-ipset repository overview

more information in github whitemay/ros-ipset⁠.

a jrodns.properties should be provided to make the image work. like below:

gfwlistPath=gfwlist.txt,greatfire.txt
whitelistPath=apple-cn.txt,google-cn.txt
adblockPath=reject-list.txt
blockAddress=224.0.0.1
rosIp=192.168.0.1
rosUser=jdns
rosPwd=password
rosFwadrKey=PROXY
rosIdle=30
localPort=53
remote=8.8.8.8
remotePort=53
maxThread=4

rosUser, rosPwd & rosIp must be changed to fit your ros config. remote is a real DNS server and reachable from this container. this jrodns.properties file should be mounted as /app/jrodns.properties.

gfwlist for domains will added to ros address-list; whitelist for the exception for gfwlist. domains in adblock will resolved to blockAddress.

might like below:

jrodns:
  image: whitemay/ros-ipset:latest
  ports:
    - 53:53/udp
  volumes:
    - $(PWD)/jrodns.properties:/app/jrodns.properties

anyone have good ideas or want some new functions added, please leave message on github. enjoy.

Tag summary

Content type

Image

Digest

Size

82 MB

Last updated

over 5 years ago

docker pull whitemay/ros-ipset