Steps to access XENServer from XENCenter on a different subnet
[+] On the Router
1) Port forward on the router (virtual servers) ports 443, 22, 80, 5900-6000
2) setup DMZ on the router with the subnet address of your xenserver
[+] On the Xenserver
3) edit this file /opt/xensource/libexec/qemu-dm-wrapper
- after the line "qemu_args = ['qemu-dm-%d'%domid] + argv[2:]"
- add "qemu_args.append("-vnc")"
- add "qemu_args.append("0.0.0.0:1")"
4) restart xapi (run: xe-toolstack-restart)
5) run: "netstat -tulpn", verify that all qemu process listening on ports 59xx are set to localhost (i.e. 127.0.0.1:5901)
6) run: "iptables -I RH-Firewall-1-INPUT -m tcp -p tcp --dport 5900:6900 -j ACCEPT" (opens the firewall for vnc)
[+] REBOOT