Remote RDP Connection Testing

bigfishinnet

Member
Feb 2, 2010
47
0
6
Hi people. Iam trying to do some testing for remote rdp connections. My clients connect to rdp servers running proxmox through ssh onto a another linux server and tunneling and port forwarding 3389 to the ip of the windows server on proxmox.

From the lan in the same office I get circa 28 down and 3.8mb up. If connect from the internet using ssh and port tunneling and run the same test in the windows server on proxmox I get circa 20mb down and 2.5 up? It looks like the tunnel in and subsequent connections out is casuing some sort tcp interference or bottleneck?

To improve the situation I would like to go in one connection and have the windows server intenet access out another way.

So I have two vmbr's one on the lan which I connecto via ssh and port fwd and the other vmbr1 direct connection to the internet with a public ip and gateway. I assign the vmbr1 as a nic on the virtual windows and set public ip on this also but I cannot access the net. On the other nic I remove gateway. Still no internet access. Note this done for testing purposes only.

Can any point me in the right direction? ssh in on one public ip through firewall and connect to virtual server on lan and thensaid same server has public ip to access the net.

Thanks in advance.

Stephen
 
Hi people. Iam trying to do some testing for remote rdp connections. My clients connect to rdp servers running proxmox through ssh onto a another linux server and tunneling and port forwarding 3389 to the ip of the windows server on proxmox.

From the lan in the same office I get circa 28 down and 3.8mb up. If connect from the internet using ssh and port tunneling and run the same test in the windows server on proxmox I get circa 20mb down and 2.5 up? It looks like the tunnel in and subsequent connections out is casuing some sort tcp interference or bottleneck?

To improve the situation I would like to go in one connection and have the windows server intenet access out another way.

So I have two vmbr's one on the lan which I connecto via ssh and port fwd and the other vmbr1 direct connection to the internet with a public ip and gateway. I assign the vmbr1 as a nic on the virtual windows and set public ip on this also but I cannot access the net. On the other nic I remove gateway. Still no internet access. Note this done for testing purposes only.

Can any point me in the right direction? ssh in on one public ip through firewall and connect to virtual server on lan and thensaid same server has public ip to access the net.

Thanks in advance.

Stephen
Hi Stephen,
should work without trouble.
How looks your network-config? ( "cat /etc/network/interfaces")

How looks your vm-config? ( "cat /etc/qemu-server/VMID.conf")

Udo
 
Hi udo :-)

Hi Stephen,
should work without trouble.
How looks your network-config? ( "cat /etc/network/interfaces")

solo:~# cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.30.2
netmask 255.255.255.0
gateway 192.168.30.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 78.105.xx.43
netmask 255.255.248.0
gateway 78.105.96.1
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet static
address 78.105.xx.46
netmask 255.255.248.0
gateway 78.105.96.1
bridge_ports eth2
bridge_stp off
bridge_fd 0


How looks your vm-config? ( "cat /etc/qemu-server/VMID.conf")

solo:~# cat /etc/qemu-server/106.conf
name: win2k864ent.invictus.lan
ide2: cdrom,media=cdrom
vlan0: e1000=F6:8B:19:5D:76:6A
bootdisk: ide0
ostype: w2k8
ide0: local:106/vm-106-disk-1.raw
memory: 8192
onboot: 1
sockets: 1
cores: 1
vlan1: e1000=A2:81:E2:4C:5A:D0
vlan2: e1000=DA:1B:86:30:7C:B9

In the windows server I am just repeating the ip settings note I disable one of the wan interfaces in windows so only one in theory has public ip

Windows route PRINT cmd

C:\Users\Administrator>route PRINT
===========================================================================
Interface List
24...da 1b 86 30 7c b9 ......Intel(R) PRO/1000 MT Network Connection #3
10...f6 8b 19 5d 76 6a ......Intel(R) PRO/1000 MT Network Connection
1...........................Software Loopback Interface 1
11...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
12...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 78.105.96.1 18 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 18 266
169.254.233.78 255.255.255.255 On-link 18 266
169.254.255.255 255.255.255.255 On-link 18 266
192.168.30.0 255.255.255.0 On-link 192.168.30.50 266
192.168.30.50 255.255.255.255 On-link 192.168.30.50 266
192.168.30.255 255.255.255.255 On-link 192.168.30.50 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.30.50 266
224.0.0.0 240.0.0.0 On-link 18 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.30.50 266
255.255.255.255 255.255.255.255 On-link 18 266
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 78.105.96.1 Default
0.0.0.0 0.0.0.0 78.105.96.1 Default
===========================================================================

IPconfig in server

Ethernet adapter Wan2:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::cd05:8ad5:1bc5:e94e
Autoconfiguration IPv4 Address. . : 169.254.233.78
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 78.105.96.1

Ethernet adapter Lan:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::2d6a:d3a7:6f5e:81ba
IPv4 Address. . . . . . . . . . . : 192.168.30.50
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

That is odd becuase I have manual entered theright public IP addresses but yet ipconfig shows a private ip 169.....

The route command on proxmox gives


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.40.5 * 255.255.255.255 UH 0 0 0 venet0
192.168.30.3 * 255.255.255.255 UH 0 0 0 venet0
192.168.30.0 * 255.255.255.0 U 0 0 0 vmbr0
78.105.96.0 * 255.255.248.0 U 0 0 0 vmbr1
78.105.96.0 * 255.255.248.0 U 0 0 0 vmbr2
default 78-105-96-1.zon 0.0.0.0 UG 0 0 0 vmbr1
default z1.invictus.lan 0.0.0.0 UG 0 0 0 vmbr0

NSLOOKUP's dont work and neitehr does apt-get update so zero access on the proxmox server.

A routing issue?

Thanks
Stephen
 
Hi Stephen,
first - use only one default-gateway on the host!
The second part is, that you use two bridges for the same network (vmbr1+vmbr2).

And you don't need an IP-Address on each bridge - only important on vmbr0. Except you want to use the Address on the host (for nat, access, ...).

Try this config and use the IPs in the VMs:
Code:
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

auto vmbr0
iface vmbr0 inet static
     address  192.168.30.2
     netmask  255.255.255.0
     gateway  192.168.30.1
     bridge_ports eth0
     bridge_stp off
     bridge_fd 0

auto vmbr1
iface vmbr1 inet static
    address 0.0.0.0
    netmask 0.0.0.0
    bridge_ports eth1
    bridge_stp off
    bridge_fd 0
Udo