Configuring Cisco ASA 5500-series as network gateway.
First step - enter in "configure terminal" mode:
Configure "outside" interface - GigabitEthernet 0/0. It must be connected to internet provider side:
Better way for run Spring boot application at production server - create systemd service for control them (start, stop, see status, etc...).
We need to install Java Development Kit (JDK). Install opensource version on Debian-based systems:
Oracle Java official installers here.
Now find JAVA binary file's full path:
You see output like this:
We use this path when configure system…
Most virtual private server (VPS) providers give machines with root access remotely.
A virtual private server (VPS) is a virtual machine sold as a service by an Internet hosting service. The term "virtual dedicated server" (VDS) also has a similar meaning.
A virtual private server runs its own copy of an operating system (OS), and customers may have superuser-level access to that operating system instance, so they can install almost any software that runs on that OS. Wikipedia.
Python requests - library, which provide possibility for data exchange with server. This script get data from server with address 192.168.1.11 and listen 443 port by Web-server:
import requests
r = requests.get('https://192.168.1.11:443/')
print(r.text)
When you send HTTP request to server with self signed SSL certificate it return CERTIFICATE_VERIFY_FAILED error and Python raise SSLCertVerificationError like this:
[user@localhost ~]$ python3 reque…
PostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
There is a wealth of information to be found describing how to install and use PostgreSQL through the official documentation.
Install in Debian, Ubuntu:
By default PostgreSQL listen 5432 port. Check installation was successful …
OpenVPN is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It implements both client and server applications. Wikipedia.
Encryption: OpenVPN uses the OpenSSL library to provide encryption of both the data and control channels. It lets OpenSSL do all the encryption and authentication work, allowing OpenVPN to use all the ciphers available in…
Aircrack-ng is a complete suite of tools to assess WiFi network security.
It focuses on different areas of WiFi security:
- Monitoring: Packet capture and export of data to text files for further processing by third party tools;
- Attacking: Replay attacks, deauthentication, fake access points and others via packet injection;
- Testing: Checking WiFi cards and driver capabilities (capture and injection);
- Cracking: WEP and WPA PSK (WPA 1 and 2). Official site.
Aircrack-ng is …
To enable HTTPS on your website, you need to get a certificate (a type of file) from a Certificate Authority (CA). Let’s Encrypt is a CA. In order to get a certificate for your website’s domain from Let’s Encrypt, you have to demonstrate control over the domain. With Let’s Encrypt, you do this using software that uses the ACME protocol which typically runs on your web host. Documentation.
Since Debian 12 Bookworm (released 10 June 2023) Certbot available in …
Django is full of shortcuts to make web developers’ lives easier, but all those tools are of no use if you can’t easily deploy your sites. Since Django’s inception, ease of deployment has been a major goal.
There are many options for deploying your Django application, based on your architecture or your particular business needs, but that discussion is outside the scope of what Django can give you as guidance.
Django, being a web framework, needs a web server in order…
Connect Cisco device via console cable to COM port.
COM (communication port) is the original, yet still common, name of the serial port interface on PC-compatible computers. It can refer not only to physical ports, but also to emulated ports, such as ports created by Bluetooth or USB adapters. Wikipedia.
Determine connected port in Debian-based systems:
The output will look something like one of these: