Hi.

Check your PF rules and also confirm you have set net.inet.ip.forwarding=1 via sysctl.

Regards,
Roman

On 30.04.23 11:23, Gurra wrote:
Hi list,

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.


     internet
        ^
        |  em0
        v
   +---------+       em1
   | OpenBSD |    <-------->      clients
   |    1    |    192.168.1./24 192.168.1.0/24
   +---------+
em2   192.168.2.10/24
        ^
        |
        v

    em1  192.168.2.1/24
   +---------+               server
   | OpenBSD |  <-------->
   |    2    |                192.168.2.2 port 1234
   +---------+
        ^
        |
        | em0
        |
        v
     internet

Any pointers?

Cheers,
Gurra


Reply via email to