Date: Tue, 15 Sep 2015 12:43:10 +0000 From: "C. L. Martinez" <carlopmart@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: 10.2-RELEASE not forwarding packets/NATing with pf Message-ID: <CAEjQA5KyuHPFP2mOWdWCgaKzL44=q1w=i5i=XEsU4VR%2Be40sGA@mail.gmail.com> In-Reply-To: <CAHvr275S1hnLr0U6Xs=pcajCZgpoTXYHMjoavRX-YEHmu=-cHQ@mail.gmail.com> References: <CAHvr275S1hnLr0U6Xs=pcajCZgpoTXYHMjoavRX-YEHmu=-cHQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 15, 2015 at 12:34 PM, Mariusz G=C3=B3rniak <m.gorniak@gmail.com= > wrote: > My FBSD 10.2 doesn't forward either :( > It's > FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > /etc/rc.conf > gateway_enable=3D"YES" > > kldstat: > kernel > fdescfs.ko > uhid.ko > pflog.ko > pf.ko > > # sysctl net.inet.ip.forwarding > net.inet.ip.forwarding: 1 > > > Ifconfig: > ifconfig_bge1=3D"inet 192.168.1.1 netmask 255.255.255.0" > ifconfig_bge1_alias0=3D"inet 192.168.7.1 netmask 255.255.255.0" > ifconfig_bge0=3D"dhcp" > > Though bge0 is dynamic it always has the same IP assigned. > > > And the new input: > > # pfctl -sr > No ALTQ support in kernel > ALTQ related functions disabled > pass out all flags S/SA keep state > pass out on bge0 proto udp all keep state > pass in all flags S/SA keep state > > > I don't need ALTQ but all the rules rdr are ignored. > It's works as a router but I can't forward to any 192.168.1.xx address :( > It is the same problem that occurs when you use FreeBSD+PF as a kvm guest or hyper-v guest ... But, ipfw works ok in all cases ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEjQA5KyuHPFP2mOWdWCgaKzL44=q1w=i5i=XEsU4VR%2Be40sGA>