Date: Mon, 19 Dec 2016 21:46:42 -0500 From: Ian FREISLICH <ian.freislich@capeaugusta.com> To: freebsd-pf@freebsd.org Subject: Re: PF TAGged jail traffic fails pass rule on egress Message-ID: <c7598665-9c2a-6831-791a-78ac2ccc8ff8@capeaugusta.com> In-Reply-To: <20161218233921.4455c466@rsbsd.rsb> References: <20161207171021.607579ea@rsbsd.rsb> <20161218163313.01fbc51e@rsbsd.rsb> <20161218233921.4455c466@rsbsd.rsb>
next in thread | previous in thread | raw e-mail | index | archive | help
I do not know enough about how jails and their networking work to be much more help. I'd suggest reading up on how the network is handled for jails. IPFW can filter based on jail ID. I don't know if that will you. Ian -- Ian Freislich On 12/18/16 15:39, Beeblebrox via freebsd-pf wrote: > Correction to previous message; should be: >> After your ideA re "no actual packets on lo2" I ran tcpdump on that >> interface; indeed no traffic shows up. I moved the jails to a new >> vlan1 ON WAN0 (INSTEAD OF LO0) with /24 subnet, with x.x.0.1 empty and >> jails starting from x.x.0.2/32. This obviously facilitates NAT from >> pf in that NAT is now not needed for inter-jail communication. >> However, nothing changes for the greater problem of packet tagging as >> "tcpdump -i vlan1" shows no packet traversal as was the case on lo2. > So now, jails are on a vlan hosted on wan0 (egress) but tcpdump still shows no packet traversal on that interface. hardware driver is re : > wan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX <full-duplex>) > -- Cape Augusta Digital Properties, LLC a Cape Augusta Company *Breach of confidentiality & accidental breach of confidentiality * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7598665-9c2a-6831-791a-78ac2ccc8ff8>