From owner-freebsd-questions@freebsd.org Tue Sep 15 12:34:43 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88B87A02392 for ; Tue, 15 Sep 2015 12:34:43 +0000 (UTC) (envelope-from m.gorniak@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 498381CF2 for ; Tue, 15 Sep 2015 12:34:43 +0000 (UTC) (envelope-from m.gorniak@gmail.com) Received: by qkdw123 with SMTP id w123so71001595qkd.0 for ; Tue, 15 Sep 2015 05:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=95xjH+f/FA+xqyq/3FSNm9iPOBV0dZpXHQfocy7X7us=; b=UUJDbS+ooULe0p85LerVPvfnbr2EI3T8zg5IrCc3V5EuggBntW3Qlv3X1W72I2QgLJ Fp1tUYct2Vp+Vdz7cpc7xir1EuhdbSwBv2okkek38wGy7YNYKFKoDd0y+MQopLFuNiUa 4B7J2xc656bKgOR1/sukGmfZ7pW9F0wCBJduKNaSMHDRAxLe4Kza0k/pCHO1t2OTLTL9 iGeca5YNnWJVpi1ScwZHjm0liblsa1uqpLl11fsE+aQ6syV/VEbQ0iqrtGj4s1Lc70cH 15sOJcIlB2XwTZQokZWCE88SuvdWFixtuq4v7LufU0q63hidk6kylMj1p0Ly2Imr40ug cRzw== MIME-Version: 1.0 X-Received: by 10.55.204.208 with SMTP id n77mr31353636qkl.46.1442320482416; Tue, 15 Sep 2015 05:34:42 -0700 (PDT) Received: by 10.55.51.68 with HTTP; Tue, 15 Sep 2015 05:34:42 -0700 (PDT) Date: Tue, 15 Sep 2015 14:34:42 +0200 Message-ID: Subject: 10.2-RELEASE not forwarding packets/NATing with pf From: =?UTF-8?Q?Mariusz_G=C3=B3rniak?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 12:34:43 -0000 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.