mudrii wrote:example for share all trafic
Start IP forward first
#echo 1 > /proc/sys/net/ipv4/ip_forward
Use IP tables for pppoe sharing
#iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Which will work, except that there is no security - a bad thing in today's Internet (you may get cracked real fast).
I haven't looked at the Gentoo setup of rp-pppoe, but the vanilla install (i.e. from roaringpenguin.com, not emerge) has a basic sharing [firewall] setup as well as standalone. In it the config script will ask which one you want.