1. server
1.1. nic(s)
m /etc/NetworkManager/system-connections/eth0.nmconnection
[connection]
id=eth0
uuid=11111111-1111-1111-1111-111111111111
type=ethernet
interface-name=eth0
[ethernet]
[ipv4]
address1=10.45.1.9/16,10.45.1.1
dns=10.45.1.2;
dns-search=d01.net;
method=manual
[ipv6]
method=auto
[proxy]
m /etc/NetworkManager/system-connections/eth1.nmconnection
[connection]
id=eth1
uuid=22222222-2222-2222-2222-222222222222
type=ethernet
interface-name=eth1
[ethernet]
[ipv4]
address1=192.168.168.9/24,192.168.168.250
dns=9.9.9.9;
method=manual
[ipv6]
method=auto
chmod 600 /etc/NetworkManager/system-connections/eth*.nmconnection
1.2. xtra rpms
yum -y install iptables iptables-services
1.3. config
cid-updates
curl -ns http://d01cid.ddns.net/sharel/bin/check_ipforward | sh
iptables -t "nat" -A "POSTROUTING" -o "eth0" -j "MASQUERADE"
iptables -t "nat" -A "POSTROUTING" -o "eth1" -j "MASQUERADE"
iptables-save > /etc/sysconfig/iptables
touch -a /etc/sysconfig/ip6tables
systemctl enable --now iptables.service
2. client
sudo ip route add 192.168.168.0/24 via 10.45.1.9 dev wlan0