┌─────────────────────────────────────────────────┐ | | | ┌──────────┐ ┌──── lan0 + <======... | ┌──┤ip forward├──┐ | | | | └──────────┘ | | | ...===> + wan ────┘ └──── br1 ─┤ | | 192.168.1.100/24 192.168.2.1/24 | | | | | | └──── lan1 + <======... | | └─────────────────────────────────────────────────┘ nano /etc/udev/rules.d/10-network.rules SUBSYSTEM=="net", ATTR{address}=="[MAC_ADDR]", NAME="[INTERFACE]" ... [ Save ] nano /etc/sysctl.d/30-ipforward.conf net.ipv4.ip_forward=1 [ Save ] reboot nano /etc/netctl/wan Description='WAN ...' Interface=wan Connection=ethernet IP=static Address=('[WAN_IP]/[MASK]') Gateway='[GATEWAY]' DNS=('[DNS_SERV]') [ Save ] netctl enable wan netctl start wan pacman -S bridge-utils nano /etc/netctl/lan_bridge Description='LAN Bridge' Interface=br0 Connection=bridge BindsToInterfaces=(lan0 lan1 ... lanX) IP=static Address=('[LAN_IP]/[MASK]') netctl enable lan_bridge netctl start lan_bridge _____________________________ Simple sharing _________________________________ ┌────────────────────────────────────────┐ | ┌──────────┐ | | ┌──┤ip forward├──┐ | BOX | | └──────────┘ | | PC ...===> + enp0s4 ───┘ └─── enp1s4 + <=====... | 192.168.1.222 192.168.2.1 | | | └────────────────────────────────────────┘