Subject: Re: pppoe and ipnat (yet another question)
To: Sean Finney <seanius@seanius.net>
From: Andrew Gillham <gillham@vaultron.com>
List: current-users
Date: 03/01/2002 10:21:31
On Fri, Mar 01, 2002 at 12:57:13PM -0500, Sean Finney wrote:
>
> here's my /etc/ipnat.conf:
> map pppoe0 192.168.0.0/24 -> 0/32 portmap tcp/udp 40000:60000
> map pppoe0 192.168.0.0/24 -> 0/32 proxy port ftp ftp/tcp
> map pppoe0 192.168.0.0/24 -> 0/32
>
> ...which still doesn't work. is there anything else I should do? Are there
> any specific rules I should be passing to route? Is there something I should
> or shouldn't be doing on the router-side rtk device?
>
> btw, to make sure everything's kosher in the LAN, I'm trying both with a linux
> box and a dumb MS laptop with all network stuff set to automatic to make sure
> that I didn't inadvertently mess something up there :). They all have the
> correct entries for default gw, dns servers, et c...
You have enabled ip forwarding right?
sysctl -w net.inet.ip.forwarding=1
-Andrew