system-config-network & Zeroconf

John W. Linville linville at redhat.com
Thu Mar 6 19:59:59 UTC 2008


On Thu, Mar 06, 2008 at 08:30:11PM +0100, Lennart Poettering wrote:
> On Thu, 06.03.08 20:15, Lennart Poettering (mzerqung at 0pointer.de) 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 at redhat.com




More information about the devel mailing list