feat: autoload iptables rules
This commit is contained in:
parent
856a444267
commit
a9f5c22a3b
@ -21,8 +21,8 @@ If you want to install a gui
|
|||||||
$EDITOR ./gui/config
|
$EDITOR ./gui/config
|
||||||
./gui/install.sh
|
./gui/install.sh
|
||||||
|
|
||||||
$EDITOR ./gui/config
|
$EDITOR ./gui/$GUI/config
|
||||||
./gui/install.sh
|
./gui/$GUI/install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
For the dotfiles, run the script as the newly created user:
|
For the dotfiles, run the script as the newly created user:
|
||||||
|
@ -32,6 +32,8 @@ sed -i '/^HOOKS=(/s/filesystems/encrypt filesystems/' /etc/mkinitcpio.conf
|
|||||||
$PACMAN "${pkg[@]}" "$cpu-ucode"
|
$PACMAN "${pkg[@]}" "$cpu-ucode"
|
||||||
systemctl enable \
|
systemctl enable \
|
||||||
NetworkManager \
|
NetworkManager \
|
||||||
|
ip6tables \
|
||||||
|
iptables \
|
||||||
podman.socket \
|
podman.socket \
|
||||||
reflector.timer \
|
reflector.timer \
|
||||||
systemd-resolved \
|
systemd-resolved \
|
||||||
|
6
rootfs/etc/iptables/ip6tables.rules
Normal file
6
rootfs/etc/iptables/ip6tables.rules
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
*filter
|
||||||
|
:INPUT DROP [0:0]
|
||||||
|
:FORWARD DROP [0:0]
|
||||||
|
:OUTPUT ACCEPT [0:0]
|
||||||
|
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||||
|
COMMIT
|
Loading…
Reference in New Issue
Block a user