Sunday, April 30, 2023

Re: pf - traffic flow through 2 routers

> I'm stuck setting up this configuration - 2 OpenBSD 7.3 boxes
> connected via a private network 192.168.2.0/24.
> The clients connected to box 1 on 192.168.1.0/24 should be able to reach the server
> on 192.168.2.0/24 with ip 192.168.2.2 on port 1234 tcp
> The communication between clients and server needs to go through the 192.168.2.0/24 network
> Box 1 can communicate with the server but the clients can not reach the server.
> Any pointers?

Use tcpdump to figure out where those packets go and where they stop
going, so you know on which machine to look for the issue.
If you use PF, enable logging on rules (man pflog) and see which rule
those packets hit.

--
May the most significant bit of your life be positive.

No comments:

Post a Comment