+- +-


Welcome, Guest.
Please login or register.

Login with your social network

Forgot your password?

+-Stats ezBlock

Total Members: 4
Latest: guser
New This Month: 0
New This Week: 0
New Today: 0
Total Posts: 339
Total Topics: 269
Most Online Today: 1
Most Online Ever: 133
(August 15, 2022, 05:06:32 am)
Users Online
Members: 0
Guests: 0
Total: 0

Author Topic: Making Subnets Communicate  (Read 89 times)


  • Full Member
  • ***
  • Posts: 207
    • View Profile
Making Subnets Communicate
« on: February 08, 2019, 09:12:02 pm »

This thread: https://www.linuxquestions.org/questions/linux-networking-3/running-second-router-in-router-mode-dd-wrt-4175627289/page4.html, has a solution to making things work within the NAT environment. Maybe that will do for you? I'll just repeat it here.

 To make it work with NAT, you first set both to gateway mode, and do as before. Then, in the first router's routing table, add a static route:

Code: [Select]
Network: [your second router's subnet]
Netmask: [your second router's netmask]
Gateway: [your second router's WAN address]
Then, in the second router, you save a firewall script as follows:

Code: [Select]
iptables -I FORWARD -j ACCEPT
That's what you do. Then, it works with NAT. Why they recommend having the second router on router mode, instead of this, is beyond me... I couldn't make it work as they said it should either, but this is what I chose to do. 

Share on Facebook Share on Twitter


  • Full Member
  • ***
  • Posts: 207
    • View Profile
Re: Making Subnets Communicate
« Reply #2 on: May 09, 2021, 04:40:12 pm »
To make them communicate from an ip range only, do the same in the first router and in the second:

Code: [Select]


+-Recent Topics

PNF: Calling Method After Extending Object Causes Crash by des
September 14, 2022, 01:07:26 pm

I have an idea for a universal programming language by des
September 13, 2022, 10:47:50 pm

Layer 6-7 Internet URL Filtering by des
September 05, 2022, 08:23:24 pm

Temporary Profiles All the Time by des
August 29, 2022, 04:10:40 pm

Windows 11 is a horrible mistake! by des
August 29, 2022, 01:57:27 am

Protecting whats mine by des
August 24, 2022, 10:14:35 am

Windows shared folder by des
August 24, 2022, 10:08:17 am

Introduction windowsforums by des
August 24, 2022, 04:09:50 am

Can't ping DC by des
August 24, 2022, 12:52:54 am

Warning in gdb, Having Trouble Debugging by des
July 29, 2022, 11:49:44 pm