On Thu, Mar 06, 2008 at 08:30:11PM +0100, Lennart Poettering wrote: > On Thu, 06.03.08 20:15, Lennart Poettering (mzerqung@xxxxxxxxxxx) wrote: > > Of course, you two are absolutely correct. My bad. I guess I shouldn't > > claim things without checking them first ;-) > > > > But still, enabling this kind of routing on the gateway is just a > > matter of doing: > > > > echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp > > echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding > > > > Right? > > Of course, NAT is still missing, so let's add another line here: > > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE > echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding > echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp Yes, this seems fine. -- John W. Linville linville@xxxxxxxxxx -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list