On Sunday 2011-08-21 10:51, Vinicius Massuchetto wrote: >2011/8/20 Vinicius Massuchetto <viniciusmassuchetto@xxxxxxxxx>: >> I had this configuration before, and it used to work well, but now I >> got a new server and I can't setup it to share the internet connection >> from ppp0. >> >> The client connects directly on eth0 through a dhcp server, and it can >> get an IP just fine. The problem seems only to appear when I set this >> rule: >> `iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE` >> >> Just after that, the client won't be able to receive an IP from the >> server anymore. Here's the configuration files: > >Aug 21 04:52:13 onix dhcpd: DHCPREQUEST for 192.168.0.2 from >00:16:36:96:2b:15 (amendoa) via eth0 >Aug 21 04:52:13 onix dhcpd: DHCPACK on 192.168.0.2 to >00:16:36:96:2b:15 (amendoa) via eth0 Random thoughts - rp_filter interfering - having 192.168.0.0/24 on ppp0, colliding with eth0 -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html