mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
update
This commit is contained in:
parent
4a4688223e
commit
da88cea854
@ -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
7
dante/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
||||
dante:
|
||||
image: dante
|
||||
ports:
|
||||
- "1080:1080"
|
||||
volumes:
|
||||
- sockd.conf:/etc/sockd.conf
|
||||
restart: always
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user