Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: mrbrklyn on 07 October 2017, 12:09:17

Title: Setting up iptables
Post by: mrbrklyn on 07 October 2017, 12:09:17

I want to ditch network manager and put in a static network config

I set up things in /etc/conf.d/net

Now I need to put in a simple iptable command for masquarading and I don't see how it fits within the complex /etc/init.d/iptables configuration.


I have to create a rule and then save it, but I don't see where or docs on the form of the file

/usr/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Also, I don't see how to turn on port forwarding.