Syed Jahanzaib Personal Blog to Share Knowledge !

December 18, 2015

ACCESS DSL MODEM PAGE IN BRIDGE MODE

Filed under: Mikrotik Related — Tags: , — Syed Jahanzaib / Pinochio~:) @ 11:29 AM

bridge

ACCESS DSL MODEM PAGE IN BRIDGE MODE (FROM INTERNET , or local)

As asked by many, here is the short code.

Mikrotik WAN Interface IP = 192.168.2.10
[configure in Mikrotik]

Modem LAN IP Interface IP = 192.168.2.1
[configure in Modem]
[as showed in the image below]

 

First configure IP address in the modem LAN so it can be accessed by Mikrotik.

As showed in the image below …

1- lan


 

Now add rules in Mikrotik NAT section, and move them on TOP

/ip firewall nat
add action=masquerade chain=srcnat comment="Masquerade request going to access DSL Panel/zaib" dst-address=192.168.20.10

add action=dst-nat chain=dstnat comment="Route vdsl modem panel request from internet to local modem - dst-port 1234 to port 80 of modem/zaib" dst-port=1234 in-interface=pppoe-out1 protocol=tcp to-addresses=192.168.2.1 to-ports=80

.

Now you can access modem panel from the internet by

http://your_wan_ip_or_host:1234

or from LAN

http://your_modem_local_ip

Note: You can create ACL to restrict access.

5 Comments »

  1. What is this ip 192.168.20.10 in the Masquerade rule ?

    Comment by booyzen — December 20, 2015 @ 6:10 PM

    • post updated. 2.10 is the ip address configured in mikrotik wan interface (connected with dsl modem)

      Comment by Syed Jahanzaib / Pinochio~:) — December 21, 2015 @ 7:21 PM

      • Sir……we can’t understand dsl modem page is not open
        on this method….plz update post
        how to configured this ip “192.168.2.10” in MT wan interface?
        ALLAH aap ko JAZA E KHAIR dey…..!

        Comment by Salman — December 21, 2015 @ 11:43 PM

  2. Sir……its not working
    in which ip of vdsl modem in nat rule
    ALLAH aap ko JAZA E KAIR dey

    Comment by Salman — December 20, 2015 @ 10:04 PM

  3. Nice article, mate! Would appreciate an article on how to configure the bridged modem and mikrotik router to allow the modem to send logs to internal (LAN) syslog server (if that is possible). Cheers!

    Comment by Cos — January 21, 2016 @ 8:20 PM


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: