port forwarding with MAC instead of IP ?

Discussion in 'Tomato Firmware' started by der_Kief, Dec 5, 2006.

  1. der_Kief

    der_Kief Super Moderator Staff Member Member

    Hi @ all,

    as title say, is this possible ? Within GUI its not possible. Maybe thats the solution for my "little" problems (1,2)

  2. PsychoD

    PsychoD Network Guru Member

    Well, you can certainly assign a static IP via MAC address. This should do it - assign a static IP using the corresponding MAC address and use that for the portforwarding-rules.
  3. der_Kief

    der_Kief Super Moderator Staff Member Member

    But i dont use DHCP server. I assigned IP's in my LAN manually and disabled DHCP server on the WRT54. Or does i misunderstand "static dhcp" ?

  4. Reiper

    Reiper LI Guru Member

    If you've assigned IP's to your LAN devices then port forward to the device's assigned IP and not the MAC address.
  5. tofu

    tofu Network Guru Member

    der_kief: It's not possible to forward via mac even manually. I can only guess the first issue was a internet->lan that was never replied back lanl->internet, so it doesn't get classified. I don't have an idea about the other issues, sorry.
  6. der_Kief

    der_Kief Super Moderator Staff Member Member

    thx Jon to reply here,

    the answer to my first issue i understand now, its logical :wink:
    for the second issue maybe there is anthor reason -> hardware problem.here at my house i use a powerline (homeplug) network to get my computers to the router which is connected to the internet by ADSL.
    sometimes i have trouble whith these adapters because sometimes the connection get lost and then i have to unplug->plug one of the adapters. when i have time i will test this with a direct twisted pair (CAT5) cable connected between switch and router.i report back.


    Attached Files:

  7. der_Kief

    der_Kief Super Moderator Staff Member Member


    is there a way that the port forwarding rules are only active when the computer which is defined in the port forwarding rules is active(online) ? Because i think, after doing a while p2p and than shutdown this p2p computer there are still requests of p2p clients which have my online IP in there queue. And so i think my p2p computer is still displayed as an connected device (because there are still established connections)

  8. u3gyxap

    u3gyxap Network Guru Member

    Maybe you can go with uPNP
  9. ifican

    ifican Network Guru Member

    Yes as long as the other clients are attempting to connect the connections will stay up. Your wan side IP is accepting the connection because there is a port forwarding rule. The wan accepts (establishes the connection) then tries to forward, well if the machine is off the connection will eventually time out but there is nothing to stop the connection in the first place. In and of itself it should not be an issue though as there is not going to be enough traffic to bother the connection as a whole. Yes you are using cpu cycles but not enough to really matter.
  10. der_Kief

    der_Kief Super Moderator Staff Member Member

    definitely NO. unsafe !? and i want to do it manually :wink:

    Thanks for the good explantation.So i dont bother anymore :biggrin:

  11. der_Kief

    der_Kief Super Moderator Staff Member Member


    Whats about port triggering ? I think i give this a try. What should i use as the trigger port ? The TCP port of mule/torrent ?

  12. NateHoy

    NateHoy Network Guru Member

    Yes, port triggering should be based on the TCP port of whatever is likely to make a frequent outbound connection. Basically, if a computer starts talking outbound on a given port, then the router will turn on the triggered port forward for a while. Kind of a "poor man's UPnP". ;)
  13. NateHoy

    NateHoy Network Guru Member

    PS: I added a description of the various Port Forwarding options to the new Wiki. ;)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice