ok, here is what I tried:
My routers IP is 192.168.0.100, my modem is 10.0.0.138
So I added a new Interface as described:
before:
<interfaces>
<lan>
<if>fxp0</if>
<ipaddr>192.168.0.100</ipaddr>
<subnet>24</subnet>
<media/>
<mediaopt/>
</lan>
<wan>
<if>vr0</if>
<mtu/>
<blockpriv/>
<media/>
<mediaopt/>
<spoofmac/>
<ipaddr>pppoe</ipaddr>
</wan>
</interfaces>
after:
<interfaces>
<lan>
<if>fxp0</if>
<ipaddr>192.168.0.100</ipaddr>
<subnet>24</subnet>
<media/>
<mediaopt/>
</lan>
<wan>
<if>vr0</if>
<mtu/>
<blockpriv/>
<media/>
<mediaopt/>
<spoofmac/>
<ipaddr>pppoe</ipaddr>
</wan>
<opt1>
<if>vr0</if>
<descr>OUT</descr>
<ipaddr>10.0.0.1</ipaddr>
<subnet>24</subnet>
<media/>
<mediaopt/>
</opt1>
</interfaces>
After reboot, the WAN pppoe connection did not come up. I noticed that the newly created interface was not enabled in GUI, after I enabled it, WAN pppoe was up again:
https://dl.dropboxusercontent.com/u/12387475/m0n0-1.png$ ipfstat -no
@1 pass out quick on lo0 all
@2 pass out quick on fxp0 proto udp from 192.168.0.100/32 port = bootps to any port = bootpc
@3 pass out quick on ngwan0 proto udp from any port = bootpc to any port = bootps
@4 pass out quick on fxp0 all keep state
@5 pass out quick on ngwan0 all keep state
@6 pass out quick on vr0 all keep state
@7 block out log quick all
Looking good so far.
Now I should do the following:
Fine. Everything you have to do now is to disable advanced outbound NAT
and configure NAT rules by hand. Take a look at chapter "Static outside
IP address" in [1] for a HOWTO. I don't think that it's necessary to
exclude the transfer net from NAT on the PPPoE interface, because it
will never be routed to "ng0", so just create a rule for LAN and OUT:
Interface Source Destination Target Description
LAN 192.168.0.0/24 * * Masquerading
OUT 192.168.0.0/24 * * Masquerading
But how exactly? In Firewall: NAT: Edit outbound mapping I only can select WAN and OUT as interface:
https://dl.dropboxusercontent.com/u/12387475/m0n0-2.pngSo I've no idea what to do next