|
|
前面的server都没问题
rules就郁闷了
比如example中的sockd-basic.conf
如下:
## general configuration (taken from FAQ; <URL:http://www.inet.no/dante/FAQ>)
#internal: fxp0 port = 1080
#external: fxp1
#method: username none
##user.privileged: root
#user.notprivileged: sockd
#logoutput: stderr
## client access rules
#client pass {
# from: 10.1.1.0/24 to: 0.0.0.0/0 #internal network
# log: connect disconnect
#}
## server operation access rules
#allow bind to ports greater than 1023
#pass {
# from: 0.0.0.0/0 to: 0.0.0.0/0 port gt 1023
# command: bind
# log: connect disconnect
#}
#allow outgoing connections (tcp and udp)
#pass {
# from: 0.0.0.0/0 to: 0.0.0.0/0
# command: connect udpassociate
# log: connect disconnect
#}
#allow replies to bind, and incoming udp packets
#pass {
# from: 0.0.0.0/0 to: 0.0.0.0/0
# command: bindreply udpreply
# log: connect error
#}
#log the rest
#block {
# from: 0.0.0.0/0 to: 0.0.0.0/0
# log: connect error
#}
这样我要设置只有局域网内ip为10.0.7.182的可以使用我的代理的话,应该如何设置啊,这其中的from to我都改过了,怎么都没什么效果,另外0.0.0.0/0后面这个“/0”是什么?[/coloe]
又麻烦各位达人了 |
|