E ai pessoal, estou quebrando a cabeça para fazer o compartilhamento da rede no ubuntu server, configurei as duas placas de rede com IPs estáticos, ativei o NAT, DHCP, mas ela não libera internet nas maquinas windows.Parece tudo configurado certo, pois no servidor tem internet, mas no resto da rede não pega.
REDE
enp2s0 Link encap:Ethernet Endereço de HW 50:e5:49:f6:94:45
inet end.: 192.168.1.100 Bcast:192.168.1.255 Masc:255.255.255.0
endereço inet6: fe80::52e5:49ff:fef6:9445/64 Escopo:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Métrica:1
pacotes RX:389984 erros:0 descartados:14459 excesso:0 quadro:0
Pacotes TX:178942 erros:0 descartados:0 excesso:0 portadora:1
colisões:0 txqueuelen:1000
RX bytes:272447228 (272.4 MB) TX bytes:22942474 (22.9 MB)
enp3s0 Link encap:Ethernet Endereço de HW 1c:7e:e5:2d:26:2a
inet end.: 192.168.0.2 Bcast:192.168.0.255 Masc:255.255.255.0
endereço inet6: fe80::1e7e:e5ff:fe2d:262a/64 Escopo:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Métrica:1
pacotes RX:102187 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:1077 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:7648722 (7.6 MB) TX bytes:274571 (274.5 KB)
iptable
-P INPUT ACCEPT
-P FORWARD DROP
-P OUTPUT ACCEPT
-A INPUT -i enp2s0 -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 1021 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 1080 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 21 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 1863 -j ACCEPT
dhcp
root@FIREWALL:/home/spark# grep -i dhcpd /var/log/syslog | tail -20
Nov 19 11:35:01 FIREWALL dhcpd[11397]: DHCPREQUEST for 192.168.0.3 from 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:35:01 FIREWALL dhcpd[11397]: DHCPACK on 192.168.0.3 to 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:38:30 FIREWALL dhcpd[11397]: DHCPINFORM from 192.168.0.3 via enp3s0
Nov 19 11:38:30 FIREWALL dhcpd[11397]: DHCPACK to 192.168.0.3 (50:b7:c3:02:66:03) via enp3s0
Nov 19 11:40:01 FIREWALL dhcpd[11397]: DHCPREQUEST for 192.168.0.3 from 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:40:01 FIREWALL dhcpd[11397]: DHCPACK on 192.168.0.3 to 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:42:48 FIREWALL dhcpd[11397]: DHCPINFORM from 192.168.0.3 via enp3s0
Nov 19 11:42:48 FIREWALL dhcpd[11397]: DHCPACK to 192.168.0.3 (50:b7:c3:02:66:03) via enp3s0
Nov 19 11:45:01 FIREWALL dhcpd[11397]: DHCPREQUEST for 192.168.0.3 from 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:45:01 FIREWALL dhcpd[11397]: DHCPACK on 192.168.0.3 to 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:50:01 FIREWALL dhcpd[11397]: DHCPREQUEST for 192.168.0.3 from 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:50:01 FIREWALL dhcpd[11397]: DHCPACK on 192.168.0.3 to 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:52:51 FIREWALL dhcpd[11397]: DHCPINFORM from 192.168.0.3 via enp3s0
Nov 19 11:52:51 FIREWALL dhcpd[11397]: DHCPACK to 192.168.0.3 (50:b7:c3:02:66:03) via enp3s0
Nov 19 11:55:02 FIREWALL dhcpd[11397]: DHCPREQUEST for 192.168.0.3 from 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 11:55:02 FIREWALL dhcpd[11397]: DHCPACK on 192.168.0.3 to 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 12:00:02 FIREWALL dhcpd[11397]: DHCPREQUEST for 192.168.0.3 from 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 12:00:02 FIREWALL dhcpd[11397]: DHCPACK on 192.168.0.3 to 50:b7:c3:02:66:03 (TRON) via enp3s0
Nov 19 12:02:54 FIREWALL dhcpd[11397]: DHCPINFORM from 192.168.0.3 via enp3s0
Nov 19 12:02:54 FIREWALL dhcpd[11397]: DHCPACK to 192.168.0.3 (50:b7:c3:02:66:03) via enp3s0