logoutput: stderr
#logoutput: syslog
#internal eth0 port = 1080
internal: venet0:0 port = 1080
internal: 127.0.0.1 port = 1080
#external: 99.99.99.99
#external: 192.168.1.1
#external: eth0
external: venet0:0
#method: username none #rfc931
method: none username
user.notprivileged: nobody
user.libwrap: nobody
##Client Rules
client pass {
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
}
client pass {
from: 127.0.0.0/8 port 1-65535 to: 0.0.0.0/0
}
##SOCKS Rules
socks pass{
#from: 76.28.114.212/20 to: 0.0.0.0/0from: 0.0.0.0/0 to: 0.0.0.0/0
protocol: tcp udp
}
socks pass {
from: 75.0.0.0/8 to: 0.0.0.0/0
protocol: tcp udp
method: username
user: dante me
}
socks pass {
from: 127.0.0.0/8 to: 0.0.0.0/0
protocol: tcp udp
}
socks block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
#Finally block other traffic
socks block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}