Refi
+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Stats ezBlock

Members
Total Members: 5
Latest: guser
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 291
Total Topics: 236
Most Online Today: 1
Most Online Ever: 17
(April 18, 2015, 11:14:56 pm)
Users Online
Members: 0
Guests: 1
Total: 1

Author Topic: Making Subnets Communicate  (Read 12 times)

des

  • Full Member
  • ***
  • Posts: 165
    • 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



 

+-Recent Topics

PNF: Not mangling function names right by des
January 16, 2020, 01:20:56 pm

All reasons a variable isn't what is expected in C++ by des
December 24, 2019, 09:18:10 pm

What is a chromebook good for? by des
December 20, 2019, 01:09:29 pm

Following a Daily Routine by des
December 02, 2019, 05:56:58 pm

Cleaning by guser
November 14, 2019, 03:30:01 pm

Housing Sites by des
November 14, 2019, 02:06:05 pm

PNF: Making Money with Free Software (Moved) by des
May 01, 2019, 02:12:32 pm

PNF: Making Money with Free Software by des
May 01, 2019, 02:07:10 pm

PNF: Help with a Loop to Identify extrai values by des
March 18, 2019, 11:05:05 am

Budgeting by guser
March 01, 2019, 01:38:22 pm