Community discussions

MikroTik App
 
tareqbd
just joined
Topic Author
Posts: 9
Joined: Thu Aug 24, 2023 9:29 pm

Communication between multiple subnets

Fri Apr 05, 2024 4:54 am

Good day.

Need help with establishing communication between multiple subnets under different interfaces.
My configurations are below.

L2TP VPN - 192.168.90.0/24
Ether1 - WAN1 << PPoE based from ISP
Ether2 - 192.168.70.0/24
Ether3 - 192.168.65.0/24

When I am connected to the L2TP VPN from external network, I want to access a device which is connected to Ether2.

or a device which is connected to Ether3, can be accessed by a client on Ether2.

Please help.
 
TheCat12
Member Candidate
Member Candidate
Posts: 196
Joined: Fri Dec 31, 2021 9:13 pm

Re: Communication between multiple subnets

Fri Apr 05, 2024 4:53 pm

I think that the L2TP should in theory be able to access all subnets if there aren't any drop firewall rules. For the connection between ether3 and ether2:
/ip firewall filter add action=accept chain=forward src-address=192.168.65.0/24 dst-address=192.168.70.0/24
 
tareqbd
just joined
Topic Author
Posts: 9
Joined: Thu Aug 24, 2023 9:29 pm

Re: Communication between multiple subnets

Fri Apr 05, 2024 5:01 pm

I think that the L2TP should in theory be able to access all subnets if there aren't any drop firewall rules. For the connection between ether3 and ether2:
/ip firewall filter add action=accept chain=forward src-address=192.168.65.0/24 dst-address=192.168.70.0/24
Thanks mate.

The below subnets are part of different hotspot network which require authentication.
Ether2 - 192.168.70.0/24
Ether3 - 192.168.65.0/24

Shall the above filter rule still work?
 
TheCat12
Member Candidate
Member Candidate
Posts: 196
Joined: Fri Dec 31, 2021 9:13 pm

Re: Communication between multiple subnets

Fri Apr 05, 2024 7:55 pm

Most probably yes. If not, an IP binding on the ether3 server should do the trick
 
tareqbd
just joined
Topic Author
Posts: 9
Joined: Thu Aug 24, 2023 9:29 pm

Re: Communication between multiple subnets

Fri Apr 05, 2024 11:53 pm

Most probably yes. If not, an IP binding on the ether3 server should do the trick
IP binding or rules nothing works bro.
 
TheCat12
Member Candidate
Member Candidate
Posts: 196
Joined: Fri Dec 31, 2021 9:13 pm

Re: Communication between multiple subnets

Sat Apr 06, 2024 11:44 am

How about adding a walled garden rule:
/ip hotspot walled-garden ip add action=accept server="ether3_server" src-address=192.168.65.0/24

Who is online

Users browsing this forum: Google [Bot], GoogleOther [Bot], jmrp87 and 13 guests