This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Access ADSL router trought astaro?

I have the necessity of resetting the ADSL line now and then, so i need to log in the ADSL router (remotely) and restart it.

Right now i have a very complicated way of doing that, wich in voilve even a phone call...

How do i access the router from within the local LAN?

My lan have address 192.168.1.0/255 and the ADSL Router is connected on the WAN port of the astaro gateway, with address 192.168.1.3.

Can that be done? Thanks for any help.

BR


This thread was automatically locked due to age.
  • Assuming you're not using PPPoE...
    An SNAT should work, or you could change the network addressing of either your LAN, or the admin interface of the modem.

    If you're using PPPoE on the firewall, I don't know if there is a solution.

    Barry
  • The router is PPoE, but i just need to connect to the lan port of the router, so i just need to know if there is a way to "bypass" the Astaro gateway or something like that...
  • The method that I use is this:

    1. Bind an additional IP address to the ASG's LAN interface. Name it ADSL-Proxy.
    Enable it.

    2 Create a host definition for the LAN address of the ADSL-box.

    3. Create a NAT rule, type DNAT.
    Matching condition: For traffic from Internal, using HTTP going to ADSL-Proxy
    Action: Change destination to ADSL-box
    Check Automatic firewall rule and Save.
    Enable the rule.

    After that is done, you simply browse from a PC on the LAN in behind the ASG router to the proxy address you defined, and you will be accessing the the webadmin of the ADSL box on the WAN side of the ASG.
  • All I do is to bind an extra address on the WAN interface that is in same subnet as the DSL modem.
    Then I can simply connect to the IP address of the modem.
  • OK, THX for the HINT, but probably i did something wrong...



    1. Added a new IP, 192.168.1.89, and named that ADSL-Proxy. IT is on the ETH0 interfacem the internal lan.

    2. Created a new HOST definition that point to 192.168.1.1, the ruouter address, and called that ROUTER_ADSL. That is bouded to the WAN interface.

    3. Created teh DNAT rule, as the screen show. 

    BUt the trick don't work. Where do you think i made a mistake?
  • Simple... create an additional IP on the interface that connects directly to your DSL Modem, and make it an IP in the range of the default local management network that your DSL modem supports.

    Then, create a SNAT that translates an Internal Host (PC) IP to that new Additional IP on the DSL link, when the packets are trying to be sent to the DSL Modem's Management IP.

    It'll work, I have this setup at home.
  • Can you elaborate a little bit more? And will work even if i have the router on a 192.168.1.X lan and the Astaro have a 192.168.1.x LAN?

    I'm not quite familiar with all of this, a have pacience and explain a little bit more please!
  • 2. Created a new HOST definition that point to 192.168.1.1, the ruouter address, and called that ROUTER_ADSL. That is bouded to the WAN interface.

    Never, never, never bind a definition to an interface.  Always leave every definition as 'Interface: >'.

    Did that fix the problem?

    Cheers - Bob
    PS Also, I'm a little confused.  Do you have the same subnet on your External interface as on your Internal interface?
  • AFAICS, He's using PPPoE so the external network would normally be irrelevant, BUT the admin interface on the modem seems to be in the same subnet as his LAN.

    Not sure if SNAT can work in that case?

    Barry
  • OK, THX for the HINT, but probably i did something wrong...

    3. Created teh DNAT rule, as the screen show. 

    BUt the trick don't work. Where do you think i made a mistake?


    The only difference I see between your rule and mine, is that I used Traffic service: HTTP, not Any, since the device I am accessing out in front of the ASG box has its own Webadmin interface on port 80, and I therefore only need the HTTP protocol.