rwmaillists at googlemail.com
Tue Oct 27 15:28:17 UTC 2009
On Tue, 27 Oct 2009 06:51:26 -0700 (PDT)
Dánielisz László <laszlo_danielisz at yahoo.com> wrote:
> I am looking to configure my FreeBSD 8.0 machine for the purpose
> specified in the subject. Let's say I have two NICs in my PC: ext_if
> (for wan/pppoe connection) and int_if for my LAN. How would you
> manage to get work NAT with pf using PPPoE from my ISP; I'd like to
> use DHCP on my LAN.
PPPoE is documented in the handbook, I'd suggest you set that up first
together with a simple pf firewall to secure the system. There are
plenty of howtos for PF+NAT+DHCP.
I would suggest you also run a DNS cache so dhcp clients can be given a
fixed private IP address instead of the ISP servers.
FWIW you may not actually need two NICs, if you have a modem/router
with multiple ports you may be able to get away with PPPoE and your lan
sharing the same NIC (your wan interface being tun0).
More information about the freebsd-questions