Differences

This shows you the differences between two versions of the page.

Link to this comparison view

home_server:media_vm_setup [2021-05-22 Sat wk20 16:15] – [Kodi Headless Server Setup] baumkphome_server:media_vm_setup [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1
Line 115: Line 115:
   *To start the vpn service: ''sudo systemctl start openvpn@privatvpn.service'', was ''openvpn@btguard.service''   *To start the vpn service: ''sudo systemctl start openvpn@privatvpn.service'', was ''openvpn@btguard.service''
   *To check the end of the journal file for the vpn specific comments from the last boot: ''journalctl -u openvpn@privatvpn.service -b 0 -xe''   *To check the end of the journal file for the vpn specific comments from the last boot: ''journalctl -u openvpn@privatvpn.service -b 0 -xe''
-  *To check current external IP address: ''%%wget http://ipinfo.io/ip -qO -%%''+  *__To check current external IP address: ''%%wget http://ipinfo.io/ip -qO -%%''__
   *To list current tables in nftables: ''sudo nft list table ip firewall'', not inet, specifically ip, as ip6 is disabled.   *To list current tables in nftables: ''sudo nft list table ip firewall'', not inet, specifically ip, as ip6 is disabled.
   *To start nftables: ''sudo systemctl start nftables''   *To start nftables: ''sudo systemctl start nftables''
Line 139: Line 139:
  
 To install nftables: "sudo apt update" followed by ''sudo apt install nftables'' To install nftables: "sudo apt update" followed by ''sudo apt install nftables''
 +++++Old, to;dr;|
 If the nftables repository can not be found in Ubuntu 18.04 they will need to be added: ''sudo vim /etc/apt/sources.list'' and add the following repositories: If the nftables repository can not be found in Ubuntu 18.04 they will need to be added: ''sudo vim /etc/apt/sources.list'' and add the following repositories:
 <file> <file>
Line 146: Line 146:
   deb http://security.ubuntu.com/ubuntu bionic-security universe   deb http://security.ubuntu.com/ubuntu bionic-security universe
 </file> </file>
 +++++
 ====Sample NFTables configuration script for PrivatVPN==== ====Sample NFTables configuration script for PrivatVPN====
 ''sudo vim /etc/nftables.conf'' ''sudo vim /etc/nftables.conf''
 ++++nftables.conf script| ++++nftables.conf script|
-<file>+<code>
 #!/usr/sbin/nft -f #!/usr/sbin/nft -f
  
Line 227: Line 228:
    }    }
 } }
-</file>+</code> 
 The use of the counter directive allows the usage to be checked. I commented out lines that were not being used. The use of the counter directive allows the usage to be checked. I commented out lines that were not being used.
 ++++ ++++
 +  *To see active tables in load nftables ''sudo nft list tables''
 +  *To see table commands: ''sudo nft list table ip firewall'' and ''sudo nft list table ip6 firewall''
   *Select the server from [[https://privatevpn.com/serverlist|PrivateVPN Server List]].     *Select the server from [[https://privatevpn.com/serverlist|PrivateVPN Server List]].  
   *The host IP address can be found using the following commands:  ''host au-mel.pvdata.host'' or '' ping au-mel.pvdata.host''.   *The host IP address can be found using the following commands:  ''host au-mel.pvdata.host'' or '' ping au-mel.pvdata.host''.
Line 443: Line 447:
  
 =====Kodi Server MariaDB (MySQL) Setup===== =====Kodi Server MariaDB (MySQL) Setup=====
 +++++ old tl;dr; |
 I have been using MariaDB instead of MySQL, as MariaDB is true opensource software and MySQL belongs to a large corporation. MariaDB has a few "quirks" to setup comparied to MySQL which is more commonly described. I have been using MariaDB instead of MySQL, as MariaDB is true opensource software and MySQL belongs to a large corporation. MariaDB has a few "quirks" to setup comparied to MySQL which is more commonly described.
  
Line 484: Line 488:
   *''show grants for 'kodi';''   *''show grants for 'kodi';''
   *''\q''   *''\q''
 +++++
  
 ---- ----