Dnsmasq config

Discussion in 'Tomato Firmware' started by marciton, May 10, 2012.

  1. marciton

    marciton Network Guru Member

    I've one server accessible outside with an adress https://myserver.mydomain.org

    I'd like to resolved it internaly with the same name but with the internal ip 192.168.1.x ...
    I think with dnsmasq option on my tomato I can do it , but I don't understand how to do ...

    I run Tomato Firmware v1.28.2490 MIPSR2-Toastman-VLAN-RT-N K26 USB Ext on a E4200
  2. occamsrazor

    occamsrazor Network Guru Member

    If your server 192.168.0.x is behind the Tomato router and you have the relevant ports forwarded through the Tomato router to reach the server - i.e. myserver.mydomain.org:1234 gets forwarded from the outside internet to port 1234 on 192.168.0.x, then all you need to do to make the address myserver.mydomain.org:1234 also work from inside the LAN, is set Advanced > Firewall > NAT Loopback to either ALL or FORWARDED, not DISABLED. At least if I understand your setup correctly....
  3. marciton

    marciton Network Guru Member

    it's not only that
    then I'm on my lan and I ping myserver.mydomain.org it's give me my external ip (normal), what I would like it's to connect with my internal ip with the same name (otherwise I've a certificate error on https). 1 way to do this is the host file. if I want to have this from all my workstations/devices on the lan it must be on the dns (my router) ... now I don't know if I can do it
  4. lancethepants

    lancethepants Network Guru Member

  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