1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
This commit is contained in:
kev 2015-06-17 12:14:19 +08:00
parent 4a4688223e
commit da88cea854
3 changed files with 10 additions and 4 deletions

View File

@ -31,9 +31,8 @@ ADD sockd.conf /etc/sockd.conf
ENV CFGFILE /etc/sockd.conf
ENV PIDFILE /tmp/sockd.pid
ENV WORKERS 10
ENV VERBOSE 4
EXPOSE 1080
CMD sockd -f $CFGFILE -p $PIDFILE -N $WORKERS -d $VERBOSE
CMD sockd -f $CFGFILE -p $PIDFILE -N $WORKERS

7
dante/docker-compose.yml Normal file
View File

@ -0,0 +1,7 @@
dante:
image: dante
ports:
- "1080:1080"
volumes:
- sockd.conf:/etc/sockd.conf
restart: always

View File

@ -8,10 +8,10 @@ user.unprivileged: nobody
client pass {
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
log: connect error
log: error # connect disconnect iooperation
}
pass {
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
protocol: tcp udp
log: connect