Notities

Notities

ing. M.A.C.M. (Martijn) van den Boom

Computer Infrastructure Engineer
ingenieur, docent en mentor

Social Media Links:

Network routing to LAN systems with OpenVPN Server

To be able to reach the systems in het LAN network you will need to add a route

van den Boom

2-Minute Read

To be able to access systems on the LAN network through the VPN tunnel of the OpenVPN server, the LAN system must know that traffic destined for the VPN subnet must be sent via the OpenVPN server. Without this additional route, return traffic will not reach the VPN clients. In this example, we use the subnet 10.0.8.0/24 as the IP range you have configured for the OpenVPN tunnel. This is the network in which all VPN clients receive an IP address.

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

=== Identity, Policy, and Audit (IPA) system === Jenkins 2.319.2 === Dashboard -> Security -> Configure Global Security Server: ldap://<IP_SERVER>:389 root DN: dc=,dc=com User search base cn=users,cn=accounts User search filter uid={0} Group search base cn=groups,cn=accounts Group membership -> Search for LDAP groups containing user -> Group membership filter: (| (member={0}) (uniqueMember={0}) (memberUid={1})) Manager DN: uid=<ADMIN_USER>,cn=users,cn=accounts,dc=,dc=com

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

=== Nexus Sonatype Nexus Repository OSS 3.60.0-02 === LDAP ldap://<IP_SERVER>:389 cn=users,cn=accounts,dc=,dc=com Simple Authentication uid=<ADMIN_USER>,cn=users,cn=accounts,dc=,dc=com Next === Select no template User relative DN = leeg User subtree = unchecked Object class: inetOrgPerson User filter = leeg User ID attribute = uid Real name attribute = cn Email attribute = mail Password attribute = leeg Map LDAP groups as roles = unchecked

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Configure LDAP/IPA Server with Sonarqube === Sonarqube 8.9.6 sonar.properties sonarqube-8.9.6/conf/sonar.properties === sonar.security.realm=LDAP ldap.url=ldap://<IP_SERVER>:389 ldap.bindDn=uid=<ADMIN_USER>,cn=users,cn=accounts,dc=,dc=com ldap.bindPassword= ldap.authentication=simple ldap.user.baseDn=cn=users,cn=accounts,dc=,dc=com # laat volgende default # ldap.user.request= # LDAP user request. (default: (&amp;(objectClass=inetOrgPerson)(uid={login})) )...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

$ ldapsearch -H ldap://<FQDN_SERVER>/ -b dc=,dc=com -x $ ldapsearch -x -LLL -H ldap:/// -b dc=,dc=com dn $ ldapwhoami -x -H ldap:/// $ ldapsearch -H ldap://<IP_SERVER> -D &ldquo;uid=<ADMIN_USER>,cn=users,cn=compat,dc=,dc=com&rdquo; -b &ldquo;cn=users,cn=accounts,dc=,dc=com&rdquo; -x -W $ ldapsearch -H ldap://<IP_SERVER> -D &ldquo;uid=<ADMIN_USER>,cn=users,cn=compat,dc=,dc=com&rdquo; -b &ldquo;dc=,dc=com&rdquo; -x -W -s one...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

=== # yum install ipa-server # ipa-server-install === Hosts file aanpassen De FQDN voor op, daarna pas de aliassen /etc/hosts <IP_SERVER> () Mocht er een alias voor de FQDN staan, dan kun je foutmeldingen krijgen die hier niet meteen aan te relateren zijn.

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

If you are using a hosts file, make sure it contains FQDNs and pay close attention to the order in which they appear. Check the hosts file and adjust it if necessary: The FQDN must come first, followed by any aliases. /etc/hosts 10.0.0.1 server1.example.com server1 application1 If an alias is listed before the FQDN, you may encounter error messages that are not immediately traceable to this cause.

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

You can automatically log in to a Linux server on Windows using PuTTY by making use of a key file. Below I explain step by step how to do this. Create a key: start: puttygen.exe Click on: Generate Click on: Save private key Go to PuTTY Configuration -> Session Load a previously created session or create a new one Go to: Connection -> SSH -> Auth -> Private key file for authentication -> Browse Select your file with the private key: *.

Recent Posts:

Categories

About

Sponsor me link:
ko-fi.com/martijnvandenboom
paypal.me/ingmacmvandenboom
buymeacoffee.com/ingvdboom