debian:jessie
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| debian:jessie [2015/05/11 07:44] – created cedric | debian:jessie [2016/10/17 09:05] (current) – cedric | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Firewall | + | ====== Configuration files ====== |
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | ====== Mirrors ====== | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | deb http:// | ||
| + | #deb-src http:// | ||
| + | |||
| + | deb http:// | ||
| + | #deb-src http:// | ||
| + | |||
| + | deb http:// | ||
| + | #deb-src http:// | ||
| + | </ | ||
| + | |||
| + | ====== Packages to install ====== | ||
| + | |||
| + | <code bash> | ||
| + | # apt-get install firmware-linux | ||
| + | |||
| + | # apt-get install ttf-freefont ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu ttf-liberation | ||
| + | </ | ||
| + | |||
| + | ====== | ||
| + | |||
| + | Backup your actual iptables rules ([[https:// | ||
| <code bash> | <code bash> | ||
| # iptables-save > / | # iptables-save > / | ||
| + | </ | ||
| + | Create a systemd service for iptables: | ||
| + | |||
| + | <code bash> | ||
| # cat / | # cat / | ||
| [Unit] | [Unit] | ||
| Line 16: | Line 49: | ||
| [Install] | [Install] | ||
| WantedBy=multi-user.target | WantedBy=multi-user.target | ||
| + | </ | ||
| + | Enable the new service: | ||
| + | <code bash> | ||
| # systemctl enable iptables.service | # systemctl enable iptables.service | ||
| # systemctl restart iptables.service | # systemctl restart iptables.service | ||
| Line 24: | Line 60: | ||
| # systemctl list-unit-files | grep iptables | # systemctl list-unit-files | grep iptables | ||
| iptables.service | iptables.service | ||
| + | |||
| + | # systemctl status iptables.service | ||
| + | ● iptables.service - Firewall | ||
| + | | ||
| + | | ||
| + | Main PID: 3307 (code=exited, | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== fstab ====== | ||
| + | |||
| + | <code bash> | ||
| + | // | ||
| </ | </ | ||
debian/jessie.1431323078.txt.gz · Last modified: by cedric
