Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2015 14:34:42 +0200
From:      =?UTF-8?Q?Mariusz_G=C3=B3rniak?= <m.gorniak@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   10.2-RELEASE not forwarding packets/NATing with pf
Message-ID:  <CAHvr275S1hnLr0U6Xs=pcajCZgpoTXYHMjoavRX-YEHmu=-cHQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 :(


--=20
Pozdrawiam!        Kind regards!        Herzliche Gr=C3=BCsse!
><((((=C2=BA>`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8.=C2=B7=
=C2=B4=C2=AF`=C2=B7...=C2=B8><((((=C2=BA>=C2=B8.Mariusz@Gorniak.PL gadu-gad=
u#1404178 http://mariusz.gorniak.pl
=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8. , . .=C2=B7=C2=B4=C2=AF`=C2=B7.. ><((((=
=C2=BA>`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8
><((((=C2=BA>`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8.=C2=B7=
=C2=B4=C2=AF`=C2=B7...=C2=B8><((((=C2=BA>=C2=B8. The essence of life is not=
 long life, but true life.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHvr275S1hnLr0U6Xs=pcajCZgpoTXYHMjoavRX-YEHmu=-cHQ>