Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

configuring router remotely

  • 18-05-2012 12:15pm
    #1
    Registered Users, Registered Users 2 Posts: 966 ✭✭✭


    I'm at work at the moment, but I would like to reconfigure the router on my home network.

    I can ssh to my home linux box. Is it possible to then configure the router from command line. For example I would like to open some ports on the router. If I was sitting at my computer at home, I could do this using the web interface of the router (its a standard eircom netopia router), but I can't use that interface (directly at least) from outside my home network. I presume that there is some way that I can do this from the command line of my home linux server?


Comments

  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    OSI wrote: »
    Then browse to the address of the router as you would at home.

    Mine for example is https://192.168.0.1/

    This is an excellent way to access remote networks for web access - very simple, encrypted, and can be run with compression too if needed.

    One thing to bear in mind is that you'll have issues if your local network is also 192.168.0.x

    If you're going to use this access method a lot, it's worth changing your home network to a different number, such as 192.168.124.x so that you won't collide with the remote network's addressing scheme.


  • Registered Users, Registered Users 2 Posts: 437 ✭✭t1mm


    Those routers support telnet also if I remember correctly.


  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF


    t1mm wrote: »
    Those routers support telnet also if I remember correctly.
    telnet sends passwords in open text

    OP, I'm using dd-wrt [1] and there is an option to enable web interface from internet using https on a selected port. Might be good for you if you have a compatible router.


    [1] http://www.dd-wrt.com/site/index


  • Registered Users, Registered Users 2 Posts: 437 ✭✭t1mm


    telnet sends passwords in open text
    SSH to his machine, telnet to router from there. Password only sent over LAN.


  • Registered Users, Registered Users 2 Posts: 966 ✭✭✭equivariant


    PrzemoF wrote: »
    telnet sends passwords in open text

    OP, I'm using dd-wrt [1] and there is an option to enable web interface from internet using https on a selected port. Might be good for you if you have a compatible router.


    [1] http://www.dd-wrt.com/site/index


    Yes I can do this with my router. However, my question was how to do it at that particular moment, when I was at work and want to access the router but i had not configured the router for remote web access. The ssh tunnelling solution was the ideal solution, I think. Thanks for the tip anyway.

    I am a bit wary of leaving the router interface facing the internet in the manner that you suggest - maybe I am paranoid but is that not a security risk?


  • Advertisement
  • Closed Accounts Posts: 2,267 ✭✭✭h57xiucj2z946q


    SSH to your network.
    Use Lynx to browse to your routers webpage, from the shell!
    http://en.wikipedia.org/wiki/Lynx_(web_browser)


  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    OSI wrote: »
    I've found a lot of router config pages don't play well with Lynx.
    Unfortunately true.
    elinks can work a little better - at least if you're familiar with how the config is laid out, but it falls over badly if the router is set up to use SSL.


  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF




Advertisement