12,274
edits
This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!
== WAN Access Restrictions (HTTP/TELNET to the Router)==
==
This will disable WAN and LAN access to the router
To disable WAN access to HTTP, HTTPS and telnet:
service system ifdelete name=HTTP group=wan
service system ifdelete name=HTTPs group=wan
service system ifdelete name=TELNET group=wan
To view the settings:
service system list name=HTTP expand=enabled
service system list name=TELNET expand=enabled
It should say:
Interface Group Access List lan
Save the settings:
saveall
===Restrict access to HTTP interface by IP:===
You may prefer to just restrict access to the router by IP - note this applies to the LAN and WAN, so you'll need to add your LAN addresses too
service system ipadd name=HTTP ip=90.155.42.0/24
service system ipadd name=HTTP ip=81.187.40.208/28
saveall
===Restrict access to TELNET interface by IP: ===
'''Add your LAN block first, as otherwise you'll be locked out!'''
service system ipadd name=TELNET ip=YOUR.LAN.BLOCK/MASK
|
edits