Got it

Change default port for http/ssh/telnet access on ont in config file.

Latest reply: May 12, 2020 03:40:48 985 4 0 0 0

Hi guys. following section on xml config file enable http access on ont wan.

<AclServices HTTPLanEnable="1" HTTPWanEnable="1" FTPLanEnable="0" FTPWanEnable="0" TELNETLanEnable="1" TELNETWanEnable="0" SSHLanEnable="0" SSHWanEnable="1" HTTPPORT="88000" FTPPORT="21" TELNETPORT="23300" SSHPORT="22200" HTTPWifiEnable="1" TELNETWifiEnable="1" WebPermanentCloseControl="0" SamBaLanEnable="1" SamBaWanEnable="0" WebAccessControl="1" TrustHost=""/>


However ports are not changed.

Services still running on 80/21 and 22.<br>How can I change them ? is there other section missing ? Regards,

Leandro.

 Dear firend,


Change default port for http/ssh/telnet access on ont in config file.

You can modify the ONT xml file to achieve, the method is as follows


telnet:
<AclServices HTTPLanEnable="1" HTTPWanEnable="0" FTPLanEnable="0" FTPWanEnable="0" TELNETLanEnable="1" TELNETWanEnable="0" SSHLanEnable="0" SSHWanEnable="0" HTTPPORT="800" FTPPORT="21" TELNETPORT="230" SSHPORT="22" HTTPWifiEnable="1" TELNETWifiEnable="1"/>
<X_HW_CLITelnetAccess Access="1" TelnetPort="230"/>

HTTP:
<AclServices HTTPLanEnable="1" HTTPWanEnable="0" FTPLanEnable="0" FTPWanEnable="0" TELNETLanEnable="1" TELNETWanEnable="0" SSHLanEnable="0" SSHWanEnable="0" HTTPPORT="800" FTPPORT="21" TELNETPORT="230" SSHPORT="22" HTTPWifiEnable="1" TELNETWifiEnable="1"/>
<X_HW_WebServerConfig ListenMode="0" ListenInnerPort="800" ListenOuterPort="80"/>


ssh:
<AclServices HTTPLanEnable="1" HTTPWanEnable="0" FTPLanEnable="0" FTPWanEnable="0" TELNETLanEnable="1" TELNETWanEnable="0" SSHLanEnable="0" SSHWanEnable="0" HTTPPORT="800" FTPPORT="21" TELNETPORT="230" SSHPORT="220" HTTPWifiEnable="1" TELNETWifiEnable="1"/>
<X_HW_CLISSHControl Enable="1" port="220" Mode="0" AluSSHAbility="0"/>


FTP:
<AclServices HTTPLanEnable="1" HTTPWanEnable="0" FTPLanEnable="1" FTPWanEnable="0" TELNETLanEnable="1" TELNETWanEnable="0" SSHLanEnable="1" SSHWanEnable="0" HTTPPORT="80" FTPPORT="21" TELNETPORT="23" SSHPORT="22" HTTPWifiEnable="1" TELNETWifiEnable="1" WebPermanentCloseControl="0" SamBaLanEnable="1" SamBaWanEnable="0" WebAccessControl="1" TrustHost=""/>
<X_HW_ServiceManage FtpEnable="0" FtpPort="21" FtpRoorDir="/mnt/usb1_1/" FtpUserNum="0"/>


Thanks


View more
  • x
  • convention:

leostereo
leostereo Created May 11, 2020 18:15:25 (0) (0)
Dear friend, I added lines you mentioned but did not work.
I tested on following onts: HG8120C, HG8546M, HS8545M5.
can you share an xml file ?  

Dear firend,


I don't have an xml file. I suggest you contact your equipment supplier or Huawei after-sales engineer for help.

Huawei Enterprise Network Technical Support Hotline: https://e.huawei.com/cn/service-hotline-query

good luck!


Thanks

View more
  • x
  • convention:

leostereo
leostereo Created May 12, 2020 18:08:10 (0) (0)
thanks !
Leo  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.