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.
  • Do you have spoofed enabled?

    But if you don't have a NAT In place how does it translate the traffic to your bridged modem ip address

    Sent from my iPhone using Astaro.org


    because that is an outside ip like google.com. no need for translation (nat)
    in this case the eth1 interface (wan) had two ip like VLAN.
  • Hi, Olsi,

    What Wingman is saying is that the packets can reach your modem without the SNAT, but the modem's response goes to the internet instead of back to the Astaro.

    Cheers - Bob
  • I don't have spoof enabled. 
    Balfson why the modem should response to internet ?
  • 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.



    OK, i just changed the adsl router LAn address from 192.168.1.1 to 10.10.10.1 and now the procedure work liche a charm!

    Thx for your help!
  • OK, i just changed the adsl router LAn address from 192.168.1.1 to 10.10.10.1 and now the procedure work liche a charm!

    Thx for your help!


    In that case, you probably had two 192.168.1.x nets before, after one another, one on each side of your ASG router.
    IP routing can only work when the net numbers are different.

    In order to avoid problems when I VPN in from outside, typically from another fake-net LAN where the net number is 192.168.0, or 192.168.1, I have set the net number on the LAN side of my ASG box to 192.168.99.
    That way it is unlikely to conflict with anything used elsewhere.
  • Never, never, never bind a definition to an interface.  Always leave every definition as 'Interface: >'.


    Why do you say that? Configuration purposes or security reasons?
  • It breaks things, except in the very rare instance that it's what you really need.

    Barry