1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Client Mode + Portforwarding

Discussion in 'Tomato Firmware' started by BNCole, Aug 24, 2009.

  1. BNCole

    BNCole Addicted to LI Member

    Hey all,


    I recently got a WRT54GL and installed tomato. I then enacted client mode and connected to my neighbors router. But now none of my ports seem to forward. Is there any way to forward without accessing my neighbors router? Also, I just tried to access his router again but it did not work. Is there an issue connecting to the 192.168.1.1 (internet router) through my tomato router 192.168.1.2?

    I would rather NOT forward any of his ports, but I do have access if I need to.

    Thanks!
     
  2. rhester72

    rhester72 Network Guru Member

    You are double-NATting, so yes, for port forwarding to work, ports will have to be forwarded on both routers.

    You shouldn't have an issue doing TCP with your neighbor's router, unless there is some sort of IP address conflict (at which point I'd expect you to have bigger issues) - can you ping his IP successfully?

    Rodney
     
  3. BNCole

    BNCole Addicted to LI Member

    Heya,


    I just tried to ping his router. 192.168.1.1. I receive "destination host unreachable".
    He has all standard WRT54G settings. I set my client mode on the WRT54GL to 192.168.1.2.

    Interestingly enough... I get a GREEN NAT light in utorrent. But it takes awhile. I have a feeling my router is connecting to the internet router and then uPNP is forwarding the original router... or something.

    Anyways, I may just forward ports on his router. How would I do this? Use standard settings? Or do i need to forward ports to my router first?

    i.e. forward everything to 192.168.1.2 , then forward everything from 192.168.1.2 to my computer.
     
  4. rhester72

    rhester72 Network Guru Member

    Actually, thinking about this a bit more - you should be able to port-forward directly from his router to your target device, since you are on the same subnet (I presume your other devices are also IPed as 192.168.1.0/24). That also explains why uPnP works (though you will probably want to disable it on your router and use it only on his to avoid broadcast confusion).

    As for why you can't ping his router...I'm afraid I don't have any good explanation there. Since you are sharing a subnet, you may do well to set up a wireless bridge instead of using client mode - client mode is intended only for a double-NAT situation where your subnet differs from that of the remote router (where the remote effectively becomes your "ISP").

    Rodney
     
  5. BNCole

    BNCole Addicted to LI Member

    Nice! I literally just got done switching it to wireless bridge mode and THEN i read your post!

    Ok, so new status. I can connect to both routers now. primary router is 192.168.1.1, client is 192.168.1.2.

    ipconfig gate way 192.168.1.1. and my ip address is 192.168.1.101. I just tried forwarding ports in UTORRENT following portforwards instructions on the primary router. I could not open any of the ports. BUT, uPnP mode works(i had it disabled in utorrent when checking to see if the ports were forwarding correctly), it even shows "port is open" when I click on the link to see when the port is open. Do i need to forward both routers? What's the next step?

    Thanks a ton!
     
  6. rhester72

    rhester72 Network Guru Member

    If you are bridged, you should only need to forward the "outside" (Internet-facing) router. If you are in client mode, you'll need to forward both routers.

    Rodney
     

Share This Page