Avocent DSR8020 KVM/IP - Network Connect Error - Solution

This error is commonly due to Java security or TLS settings but there is a second issue with forwarded ports that also causes it.

 

1. Java Security/TLS Settings issue:

This article has the solution to change them all in Linux automatically

2. Port Forwarding Issue if your Avocent DSR is behind NAT/private IP

One would assume if you can get to the interface successfully via port 80/443 that all would be well but it's not enough.

Actually a port scan shows the following ports are open on the DSR:

PORT     STATE SERVICE
80/tcp   open  http
443/tcp  open  https
2068/tcp open  advocentkvm
3211/tcp open  avsecuremgmt
3871/tcp open  avocent-adsap
8192/tcp open  sophos

You could forward all above ports but for normal functionality they are not required unless you are using the Avocent software I believe.

Forward these ports to your private IP of the Avocent DSR:

80,443,2068,8192

An example in iptables of how to forward the ports:

-s 192.168.5.4/32 #this is the only public IP that can access it (you can do away with this line if you want any remote IP to have access but for security this is recommended.  I find the unit itself tends to crash from attacks/hacking attempts when left wide open to the public.

iptables -A PREROUTING -t nat -s 192.16.5.4/32 -d 103.2.5.2/32 -p tcp -m multiport --dports 80,443,2068,8192,3871,3211 -j DNAT --to 192.168.10.5

The same portforwarding can also be achieved with OpenSSH like this:

*Replace 192.168.10.5 with the NAT IP of your Avocent DSR unit

ssh -L 80:192.168.10.5:80 -L 443:192.168.10.5:443 -L 2068:192.168.10.5:2068 -L 8192:192.168.10.5:8192  user@remotehost.com

#bash script

remoteip=publicip

internalip=lanip

ssh -L 80:$internalip:80 -L 443:$internalip:443 -L 2068:$internalip:2068 -L 8192:$internalip:8192  user@$remoteip
 

Other related Avocent DSR issues

http://realtechtalk.com/Avocent_Unable_to_load_resource_avctVideojar-1646-articles

http://realtechtalk.com/Avocent_8020_KVM_Java_Icedtea_Viewer_-1702-articles


Tags:

avocent, dsr, kvm, ip, solutionthis, commonly, tls, settings, forwarded, ports, linux, automatically, forwarding, nat, interface, successfully, via, scan, tcp, http, https, advocentkvm, avsecuremgmt, adsap, sophos, functionality, software, iptables, recommended, tends, attacks, hacking, attempts, prerouting, multiport, dports, dnat, portforwarding, achieved, openssh, ssl, user, remotehost, realtechtalk, avocent_unable_to_load_resource_avctvideojar, articles, avocent_, _kvm_java_icedtea_viewer_,

Latest Articles

  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)