Differences
This shows you the differences between two versions of the page.
home_server:media_vm_setup [2021-05-22 Sat wk20 16:13] – [Some other handy pointers and commands related to the iptables setup:] baumkp | home_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: '' | *To start the vpn service: '' | ||
*To check the end of the journal file for the vpn specific comments from the last boot: '' | *To check the end of the journal file for the vpn specific comments from the last boot: '' | ||
- | *To check current external IP address: '' | + | *__To check current external IP address: '' |
*To list current tables in nftables: '' | *To list current tables in nftables: '' | ||
*To start nftables: '' | *To start nftables: '' | ||
Line 139: | Line 139: | ||
To install nftables: "sudo apt update" | To install nftables: "sudo apt update" | ||
+ | ++++Old, to;dr;| | ||
If the nftables repository can not be found in Ubuntu 18.04 they will need to be added: '' | If the nftables repository can not be found in Ubuntu 18.04 they will need to be added: '' | ||
< | < | ||
Line 146: | Line 146: | ||
deb http:// | deb http:// | ||
</ | </ | ||
+ | ++++ | ||
====Sample NFTables configuration script for PrivatVPN==== | ====Sample NFTables configuration script for PrivatVPN==== | ||
'' | '' | ||
++++nftables.conf script| | ++++nftables.conf script| | ||
- | <file> | + | <code> |
# | # | ||
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 '' | ||
+ | *To see table commands: '' | ||
*Select the server from [[https:// | *Select the server from [[https:// | ||
*The host IP address can be found using the following commands: | *The host IP address can be found using the following commands: | ||
Line 417: | Line 421: | ||
++++ | ++++ | ||
====Some other handy pointers and commands related to the iptables setup:==== | ====Some other handy pointers and commands related to the iptables setup:==== | ||
- | ++TL;DR; | | + | ++++Old, |
*Remember if creating the script from scratch to make executable use: '' | *Remember if creating the script from scratch to make executable use: '' | ||
Line 427: | Line 431: | ||
*To get the external IP address use: '' | *To get the external IP address use: '' | ||
*To see the current openvpn status use: '' | *To see the current openvpn status use: '' | ||
- | ++ | + | ++++ |
====How to make IPTables configuration permanent / restore on boot==== | ====How to make IPTables configuration permanent / restore on boot==== | ||
+ | ++++ old tl;dr; | | ||
Reference [[http:// | Reference [[http:// | ||
*Install iptables persistent '' | *Install iptables persistent '' | ||
*To save current IPTable configuration use: '' | *To save current IPTable configuration use: '' | ||
+ | ++++ | ||
======Kodi Setup======= | ======Kodi Setup======= | ||
Line 442: | 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 " | 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 " | ||
Line 483: | Line 488: | ||
*'' | *'' | ||
*'' | *'' | ||
+ | ++++ | ||
---- | ---- | ||
====Kodi Headless Server Setup==== | ====Kodi Headless Server Setup==== | ||
- | ++++ Old to be deleted | + | ++++ Old tl; |
**Work in Progress. I have not been able to get this working yet.** I get the webui operational with the default kodi-headless settings. When I adjust the advanced kodi setting the webui is not available. I am also concern that this setup will not update the media library as there is no drive link in the design. | **Work in Progress. I have not been able to get this working yet.** I get the webui operational with the default kodi-headless settings. When I adjust the advanced kodi setting the webui is not available. I am also concern that this setup will not update the media library as there is no drive link in the design. |