Re: Capturing redirected packets?

2022-02-11 Thread Mike Fischer
> Am 10.02.2022 um 19:01 schrieb Stuart Henderson : > > On 2022-02-10, Mike Fischer wrote: >>> The redirection to an address on the local machine is just internal to >>> the machine; those would only show a second time in tcpdump if they were >>> being sent to another machine. >> >> Ok, thanks

Re: Capturing redirected packets?

2022-02-10 Thread David Gwynne
> On 10 Feb 2022, at 18:55, Stuart Henderson wrote: > > Normally if you have two addresses on the same lan you'd configure them > as aliases on the one interface, this seems a bit of a non-standard > config. If aggr/trunk to increase bandwidth makes sense, then you can think of configuring mu

Re: Capturing redirected packets?

2022-02-10 Thread Stuart Henderson
On 2022-02-10, Mike Fischer wrote: >> The redirection to an address on the local machine is just internal to >> the machine; those would only show a second time in tcpdump if they were >> being sent to another machine. > > Ok, thanks. So there is no way to trace rdr-to (other than possibly doing l

Re: Capturing redirected packets?

2022-02-10 Thread Mike Fischer
> Am 10.02.2022 um 09:55 schrieb Stuart Henderson : > > On 2022-02-08, Mike Fischer wrote: >> Hi! >> >> I have PF rules redirecting packets to an IP on one interface (rdomain 1) to >> the IP of another interface (rdomain 0): >> >> pass in log on rdomain 1 inet proto tcp to $ipv4b port 80 rdr

Re: Capturing redirected packets?

2022-02-10 Thread Stuart Henderson
On 2022-02-08, Mike Fischer wrote: > Hi! > > I have PF rules redirecting packets to an IP on one interface (rdomain 1) to > the IP of another interface (rdomain 0): > > pass in log on rdomain 1 inet proto tcp to $ipv4b port 80 rdr-to $ipv4a port > 8080 rtable 0 > pass in log on rdomain 1 inet6 p

Capturing redirected packets?

2022-02-08 Thread Mike Fischer
Hi! I have PF rules redirecting packets to an IP on one interface (rdomain 1) to the IP of another interface (rdomain 0): pass in log on rdomain 1 inet proto tcp to $ipv4b port 80 rdr-to $ipv4a port 8080 rtable 0 pass in log on rdomain 1 inet6 proto tcp to $ipv6b port 80 rdr-to $ipv6a port 808