I thought I had a handle on iptables and port forwarding and now I see that I don't know how to set up port forwarding by default (without Network Manager)
Likewise, and related:
I saved the current IPTABLE setting which is
/usr/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
but it doesn't seem to trigger with reboot.
If someone with a little bit more hands on expertise with this than I have can give me a hint, I would appreciate it.
Ruben
Put your iptables command in /etc/rc.local and read this post (https://artixlinux.org/forum/index.php?topic=159.msg1281#msg1281) on how to run it on every boot.
have you seen this?
https://wiki.gentoo.org/wiki/Iptables
[www3 ~]# rc-update
agetty.tty1 | default
agetty.tty2 | default
agetty.tty3 | default
agetty.tty4 | default
agetty.tty5 | default
agetty.tty6 | default
binfmt | boot
bootmisc | boot
cronie | default
dbus | default
devfs | sysinit
dmesg | sysinit
elogind | boot
fsck | boot
hostname | boot
hwclock | boot
iptables | default
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
mailman | default
mariadb | default
modules | boot
mount-ro | shutdown
mtab | boot
named | default
net.eth0 | default
net.eth1 | default
net.lo | boot
netmount | default
ntpd | default
opentmpfiles-dev | sysinit
opentmpfiles-setup | boot
postfix | default
procfs | boot
root | boot
savecache | shutdown
sshd | default
swap | boot
sysctl | boot
sysfs | sysinit
syslog-ng | default
termencoding | boot
udev | sysinit
udev-trigger | sysinit
urandom | boot