device communication on 2 unbridged networks

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
Robkiller
DD-WRT Novice


Joined: 16 Dec 2019
Posts: 5

PostPosted: Wed Jan 22, 2020 15:16    Post subject: device communication on 2 unbridged networks Reply with quote
So I need a device(raspberry Pi4 running Hassio) that is on an unbridged guest network to communicate like it was also on the main network. It needs to be available for both networks. I am not sure how to do this any ideas? R7800 running dd-wrt. Both networks have the r7800 as the main router in fact the guest network is the wifi of the r7800.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 4697
Location: Netherlands

PostPosted: Wed Jan 22, 2020 16:10    Post subject: Reply with quote
Have you enabled NET isolation?
If so you can make an exception with something like:

iptables -I FORWARD -i [GUEST_IF] -o br0 -s [ipaddress of PI] -j ACCEPT
iptables -I FORWARD -i br0 -o [GUEST_IF] -d [ipaddress of PI] -j ACCEPT

As there are different subnets you will not have network discovery

_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Robkiller
DD-WRT Novice


Joined: 16 Dec 2019
Posts: 5

PostPosted: Wed Jan 22, 2020 16:44    Post subject: Reply with quote
I do not have net isolation enabled. Because I want the discovery for both networks when it come to the PIs ability to see devices.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 4697
Location: Netherlands

PostPosted: Wed Jan 22, 2020 17:05    Post subject: Reply with quote
If you do not have it enabled you do not need those rules.
You should be able to connect by ip address
As said there is no network discovery between subnets.
You need extra software for that like avahi or UDP broadcast relay

_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum