Gateway of last resort is not set

NetBox Install on Debian 9

When installing NetBox on Debian 9 and Apache, the instructions in are fine, just some small additional operations are needed. The libapache2-mod-wsgi-py3 package needs to be installed as well, otherwise you will get errors about the “WSGIPassAuthorization on” command when starting Apache Disable the “000-default” site with a2dissite 000-default Copy the relevant configurations from […]

TLS Certificates in Debian and Apache

Adding TLS configurations in Apache: cat > /etc/ssl/private/myserver.key chmod 0640 /etc/ssl/private/myserver.key chgrp ssl-cert /etc/ssl/private/myserver.key cat > /etc/ssl/certs/myserver.crt cd /etc/apache2/sites-available cp default-ssl.conf myserver-ssl.conf vi myserver-ssl.conf – add ServerName if needed – RedirectMatch ^/$ (if needed) – edit SSLCertificateFile and SSLCertificateKeyFile a2ensite myserver-ssl a2enmod ssl vi 000-default.conf – add ServerName if needed – Redirect / […]

Visual Studio Code Customizations

My customizations in Visual Studio Code: Cygwin in Integrated Terminal { // start bash, not the mintty, or you’ll get a new window “”: “C:\\cygwin64\\bin\\bash.exe”, // Use this to keep bash from doing a ‘cd ${HOME}’ “”: { “CHERE_INVOKING”: “1” }, // Make it a login shell “”: [ “-l” ] } (source: Quick […]

Zabbix Components and Ports

Zabbix monitoring system consists of components that communicate with each other. Here is a summary of the TCP ports and some configuration characteristics of various connections. Active agent: The Zabbix agent periodically asks the Zabbix proxy (or Zabbix server, if configured to use the server directly) for the list of items that should be collected, […]

Installing AWS CLI on Cygwin

To get AWS CLI working in Cygwin: Install “python2-pip” with the Cygwin installer (and accept whatever dependencies it brings) Run “pip2 install awscli“ See what you have: “aws –version“, and continue with the usual “aws configure” procedure. Using AWS CLI is not very fast in this setup however. For example, showing specific Virtual Private Gateway […]

Junos Default Applications

From Junos 12.1X47-D25.4 on SRX240H2: markku@srx> show configuration groups junos-defaults applications # # File Transfer Protocol # application junos-ftp { application-protocol ftp; protocol tcp; destination-port 21; } # # Trivial File Transfer Protocol # application junos-tftp { application-protocol tftp; protocol udp; destination-port 69; } # # Real Time Streaming Protocol # application junos-rtsp { application-protocol […] © Markku Leiniö 2011-2017 Frontier Theme