Page 1 of 2 12 LastLast
Results 1 to 15 of 24

Thread: Forward to MAC address

  1. #1

    Question Forward to MAC address

    Hi there.
    I would like to know if it is possible to forward a port to a specific mac-address ??
    If not, could this maybe be included in the next custom firmware ??

    /willie2_z

  2. #2
    I don't think that is possible directly, but what you should/can do is setup a static ip with that mac, and then forward to that ip. You can do this in the web interface. Ip-config->DHCP server->Manually assigned IP list to registrer mac/ip, and then NAT-Settings->Virtual Server for the port forwarding.

    S.

  3. #3
    Well, the thing is: I would like to WOL. Wake my computer from another location. But this can only be done to a specific mac-address. So my problem is: I want to forward this WOL-packet to a specifik mac-address.

  4. #4
    Simple solution that I use:
    Log in to router and use ether_wake. To log in safely from WAN use dropbear ssh.

    More tricky solution:
    Make a script that calls ether_wake, and make it available from the outside by using a httpd (cgi-script) or as a service with xinetd.

    S.

    PS: I recomend simple solution!

  5. #5
    Join Date
    Sep 2004
    Location
    Austria
    Posts
    125
    Quote Originally Posted by Willie2_z
    I would like to know if it is possible to forward a port to a specific mac-address ??
    Certainly not. Actually the question is wrong by definition - a mac address is a concept that operates roughly on Layer 2 of the OSI model while a (TCP or UDP) port is a Layer 4 concept. For further reference visit http://en.wikipedia.org/wiki/OSI_model (but bear in mind that the OSI model is just a theoretical model).

    To keep on topic ( ): Use barsju's solution.

  6. #6
    hmm, i don't see ether_wake in my configuration tool, and i know jack about programming scripts for my router..

  7. #7
    Join Date
    Sep 2004
    Location
    Austria
    Posts
    125
    You have to login to your router via ssh / telnet first to use the ether-wake utility.

  8. #8
    well i just use the web-interface ?! can't it be done from there ?
    actually i didn't know it was possible to ssh to it. I'm going to try it when I get home

  9. #9
    Well ssh needs to be enabled first. So start by telneting. And make sure you have oleg's custom firmware.

    Then read up on this page: http://oleg.wl500g.info

    And search the forum.

    S.

  10. #10
    oki, i upgraded my firmware. and i did all the things on the site about telnet and ssh, but i still can't ssh to it.
    Last edited by Willie2_z; 04-07-2005 at 22:20.

  11. #11
    Did you telnet to it and start dropbear? Run "ps" to make sure that dropbear is running..

    S.

  12. #12
    hehe
    now i can ssh it.
    now what ??

  13. #13
    now: ether-wake xx:xx:xx:xx:xx:xx
    ...
    S.

  14. #14
    nice...
    looks like it work.
    new problem. i can't connect via ssh or telnet from another location, from WAN, only locally. I use putty to ssh, if i try to ssh from WAN it just times out.
    Last edited by Willie2_z; 05-07-2005 at 21:50.

  15. #15
    You need to change your firewall (iptables) rules

Page 1 of 2 12 LastLast

Similar Threads

  1. [uPnP] Problem with uPnP, adding forward: router stops forwarding
    By TRaNe in forum WL-500g/WL-500gx Tutorials
    Replies: 59
    Last Post: 20-08-2008, 22:49
  2. Replies: 5
    Last Post: 03-09-2005, 16:05
  3. What happens when the WAN IP address changes?
    By tomilius in forum WL-500g Q&A
    Replies: 2
    Last Post: 20-03-2005, 22:00
  4. Port forward
    By Lightah in forum WL-500g Q&A
    Replies: 0
    Last Post: 16-02-2005, 16:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •