Hello Brian,
Here are some tips:
1. check the sysctl.conf, for the line:
Code:
net.ipv4.ip_forward = 0
and in stead of 0 , place 1, like so:
Code:
net.ipv4.ip_forward = 1
save, and run the command:
Code:
sysctl -p /etc/sysctl.conf
2. I`ll give you a example of a linux router sould look.
eth0 = internet (WAN)
eth1 = Local Area Network (LAN)
Code:
iptables -X
iptables -F
iptables -t nat -X
iptables -t nat -F
iptables -t mangle -X
iptables -t mangle -F
iptables -P INPUT DROP
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -A INPUT -i lo -j ACCEPT -m comment --comment "Accept all LOOPBACK lo traffic"
iptables -A FORWARD -i eth1 -o eth0 -s 192.168.1.1/24 -j ACCEPT -m comment --comment "Local Network"
iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE -m comment --comment "MASQUERADE eth0"
Hope it helps.