On 12 Nov 2006 16:10:04 -0800, GS <(E-Mail Removed)> wrote:
| Hello,
|
| I have small issue, I have one ADSL Router (uplink adsl, regular LAN
| ports for regular linux machines to access internet), this router uses
| 192.168.1 subnet, I have some Linux machines in that subnet
| (192.168.1.xx), also I have one more Router connected to the one of the
| LAN port of that ADSL router, that second router's WAN port was
| assigned a static IP address 192.168.1.128, there are some more Linux
| machines in second router, its subnet is 192.168.2.xx, I can ping or
| ssh or telnet or ftp from 192.168.2.xx to 192.168.1.xx (also 192.168.2
| subnet machines gets Internet also), but not the other way, I cannot
| reach anything from 192.168.1.xx to 192.168.2.xx, Is there anyway I can
| reach the machines in 192.168.2.xx subnet (ftp, ssh or telnet).
|
| if you think, why I am using Two Routers, I need the second router
| since I have lot of filters to block most of the websites (useful for
| kids, so that lot of sites can be blocked), but this second ADSL
| router, I got it recently through my ISP, so that is why I need to use
| two routers.
|
| also earlier I was using portforwarding to access machines from
| outside, I added portforwarding in ADSL router, that is how I used to
| reach all the machines in 192.168.1.xx subnet. now I need to port
| forward to 192.168.2.xx machine (one of the machine atleast, from there
| I can reach all other machines), How can I reach 192.168.2.xx machines
| using portforwarding, any clue.
| Thanks in advance, can some exprt drop me a line.
It sounds like the second router (between 192.168.1.0/24 &
192.168.2.0/24) is doing NAT for the boxes on the 192.168.2.0/24
network.
You can probably setup port forwarding on the second router to allow
access to one of the boxes on 192.168.2.0/24, but probably not more than
one, unless you can turn off the NAT and just do normal routing.
At that point you will need to add a route to the 192.168.2.0/24
network, pointing at the 2nd router, to either the main router, or all
the boxes on the 192.168.1.0/24 network.
--
Reverend Paul Colquhoun, ULC.
http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro