Setting up a Web Server with BSNL AONT 100C Modem & TP Link Router

  • Thread starter Thread starter newbie2902
  • Start date Start date
  • Replies Replies 49
  • Views Views 18,250
Messages
28
Location
NA
ISP
BSNL
Good Morning everybody; this forum seems to be having a lot of information on networking in India. Great place for knowledge sharing and thank you members for making this forum such a wonderful & useful place.

We have an FTTH connection from BSNL and they have placed an Alphion AONT-100C modem. Since this modem doesn't have wifi feature, we have added a TP-Link router and connected many computers through wifi. Everything was fine until now when we want to use one of the computer in the network as a web server which has to be made accessible from public. Looked out for many tutorials online and tried our best with no success. So, please help with our situation.

EXISTING SETUP:
Modem: Alphion AONT-100C
LAN IP: 192.168.1.251
WAN IP: Dynamic
Connection Type: PPPoE
DHCP: Enabled

Router: TP-Link
LAN IP: 192.168.0.1
WAN IP: 192.168.1.127 (Dynamic)
Connection type: Wireless router
Connection in: LAN cable through WAN port from AONT modem
Connection out: Wifi and LAN ports

Web server machine: HP Workstation
LAN IP: 192.168.0.105
Listening to port: 80
Allow access: all

We tried two methods:
METHOD-1
Enabled DMZ (firewall settings) in BSNL modem with host 192.168.0.1 (TP-Link router) and port forwarded to 192.168.0.105 in the TP-Link router. Incoming public traffic is routed to BSNL modem admin page.

METHOD-2
Made the TP-Link router as an Access Point with IP 192.168.1.1 and assigned web server machine with IP 192.168.1.105, both having gateway as 192.168.1.251 which is the BSNL modem. Enabled port forwarding in BSNL modem to point to 192.168.1.105 (80 port). Incoming traffic is still routed to BSNL modem admin page.

We also tried with some different ports instead of 80, which didn't work either. Please help.
 
@newbie2902 Plugged out the fibre connector from old ONT and plugged it into the new ONT, and everything worked as before 😝🤪. My new ONT is a Huawei HG8010H which supports only bridge mode, so no config was even necessary on the ONT.

On a serious note, not all LCOs configure ONT whitelisting, so any ONT should be able to register or connect to the OLT. In my case, the LCO has not even enabled ONT registration, so anything works. In some cases, the ONT uses a serial number or password to authenticate with the OLT, most ONTs I've seen allow you to change these parameters, so all you'd need to do is enter the same values as your old ONT.
 
Upvote 0
Forgot that I have ZeroTier for remote access so was able to confirm right away. This is from my Huawei ONT, the serial and password can be modified as needed.

Screenshot_20200301-203146__01.webp
 
Upvote 0
@varkey Ok, please suggest a device that supports the following as per our requirement and will go ahead to take up the risk :)
  1. MAC Cloning
  2. Tweaking of ONT authentication parameters
  3. Has telephone out socket
 
Upvote 0
According to the local NIB team, some OLTs are closed systems meaning only their own products will work. In my state BSNL switched to Open Systems.
 
Upvote 0
Back