Mikrotik — FAQ

Проброс портов Добавим проброс порта 995 с группы интефейсов WAN интерфейса pppoe-out1 на ip 10.8.0.230 на порт 995 /ip firewall nat add action=dst-nat chain=dstnat dst-port=995 in-interface-list=WAN protocol=tcp to-addresses=10.8.0.230 to-ports=995 /ip firewall nat add chain=srcnat src-address=10.8.0.23/24 dst-address=10.8.0.230 protocol=tcp dst-port=995 action=masquerade /ip firewall nat add action=dst-nat chain=dstnat comment=»995_from_inner_to_external_ip» dst-address-type=local dst-port=995 protocol=tcp to-addresses=10.8.0.230 Mikrotic l2tp client /interface l2tp-client […]

Читать далее…

How install latest minukube on ubuntu 16.04 with docker-machine-driver-kvm2<

How install latest minukube on ubuntu 16.04 with docker-machine-driver-kvm2 Install kvm packages on ubuntu 16.04 sudo apt install libvirt-bin qemu-kvm -y sudo usermod -a -G libvirtd $(whoami) Install minikube # The command below installs Kubectl version 1.9.0 curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.9.0/bin/linux/amd64/kubectl # For stable version, use following command: curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-kvm2 […]

Читать далее…

Build nginx latest with libressl script

Build nginx with libressl script #!/usr/bin/env bash # names of latest versions of each package export NGINX_VERSION=1.13.9 export VERSION_PCRE=pcre-8.41 export VERSION_LIBRESSL=libressl-2.6.4 export VERSION_NGINX=nginx-$NGINX_VERSION #export NPS_VERSION=1.9.32.10 #export VERSION_PAGESPEED=v${NPS_VERSION}-beta # URLs to the source directories export SOURCE_LIBRESSL=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/ export SOURCE_PCRE=https://ftp.pcre.org/pub/pcre/ export SOURCE_NGINX=http://nginx.org/download/ #export SOURCE_RTMP=https://github.com/arut/nginx-rtmp-module.git #export SOURCE_PAGESPEED=https://github.com/pagespeed/ngx_pagespeed/archive/ # clean out any files from previous runs of this script rm […]

Читать далее…

Setup gitlab by docker-compose

Setup gitlab by docker-compose with registry mkdir ~/gitlab cd ~/gitlab Create docker-compose file nano docker-compose.yml version: ‘2’ services: redis: container_name: gitlab-redis restart: always image: sameersbn/redis:latest command: — —loglevel warning volumes: — ./redis:/var/lib/redis:Z networks: — localnet postgresql: container_name: gitlab-postgres restart: always image: sameersbn/postgresql:9.6-1 volumes: — ./postgresql:/var/lib/postgresql:Z environment: — DB_USER=gitlab — DB_PASS=password — DB_NAME=gitlabhq_production — DB_EXTENSION=pg_trgm networks: […]

Читать далее…