OPNsense Forum

English Forums => General Discussion => Topic started by: hushcoden on March 13, 2021, 02:35:05 pm

Title: How to make communicating with each other clients on different subnet ?
Post by: hushcoden on March 13, 2021, 02:35:05 pm
I need a client on subnet 192.168.0.1/24 (LAN) being able to ping another client which is on subnet 192.168.10.1/24 (LAN2) - and viceversa.

LAN and LAN2 are on two different physical Ethernet ports of the OPNsense router.

I'm playing with Firewall --> NAT --> Outbound, but no luck s far  :-[

Can someone help, please?

Tia.
Title: Re: How to make communicating with each other clients on different subnet ?
Post by: marjohn56 on March 13, 2021, 03:33:07 pm
Just add a LAN rule inbound on the LANs in question allowing traffic from the other LANs

So add a rule on for subnet 192.168.10. to allow traffic from the specific address on the 192.168.0 subnet. i.e if the client is 192.168.0.23, add a rule for that client. Better still make an alias for it and just use the alias.
Title: Re: How to make communicating with each other clients on different subnet ?
Post by: hushcoden on March 13, 2021, 08:55:02 pm
Thanks, it seems working.