First let me make sure I understand the terms

My setup:

Two routers: Comcast Arris & TP L-WR1043ND
Two subnets: 10.0.0.0/24 - 192.168.2.0/24

                internet
                   |
                   |
   comcast Arris (Mod:TG862G) (wan xx.xx.xx.xx - lan 10.0.0.1)    
       |               |  
       |               |
      H.1 (10.0.0.7)  WR1043ND (wan: 10.0.0.20 - lan 192.168.2.1)
                            |
                          H.2 (192.168.2.226)

I want all the hosts... (only two shown but there are more like 12-14)
to be able to ssh to each other from anywhere on the lan.

So far hosts on 10.0.0.0/24 subnet can ssh each other, but not hosts
on 192.168.2.0/24.  Hosts from 192.168.2,0/24 can ssh to either
subnet.

I picked this bit of code up in the piles of openwrt docs:
(http://www.it-slav.net/blogs/2011/04/02/open-ssh-on-the-wan-inteface-openwrt/)

  config rule               
          option src              wan
          option dest_port        22
          option target           ACCEPT    
          option proto            tcp 

  #/etc/init.d/firewall restart

I thought it would let 10.0.0.0/24 hosts ssh to other subnet. But it
does not appear to have that effect.

You must have noticed, I don't have much of a clue what I'm doing and
so can use any guidance anyone may have to offer.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to