feat: autoload iptables rules
This commit is contained in:
parent
856a444267
commit
a9f5c22a3b
3 changed files with 15 additions and 7 deletions
|
|
@ -21,8 +21,8 @@ If you want to install a gui
|
|||
$EDITOR ./gui/config
|
||||
./gui/install.sh
|
||||
|
||||
$EDITOR ./gui/config
|
||||
./gui/install.sh
|
||||
$EDITOR ./gui/$GUI/config
|
||||
./gui/$GUI/install.sh
|
||||
```
|
||||
|
||||
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"
|
||||
systemctl enable \
|
||||
NetworkManager \
|
||||
ip6tables \
|
||||
iptables \
|
||||
podman.socket \
|
||||
reflector.timer \
|
||||
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…
Add table
Add a link
Reference in a new issue