maikcat:
pinging rdp server over vpn
Minimum = 24ms, Maximum = 27ms, Average = 25ms
pinding router without vpn
Minimum = 22ms, Maximum = 25ms, Average = 23ms
janjust:
yes, i did bridging. i know there is SOME impact, but i think there must be some other explanation... after all it is only one user atm, with one rdp
server is an ubuntu 10.04 lts running on vmware (on windows server 2008 r2, on nice server hw), openvpn:
[strike]OpenVPN 2.1.0 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
i just realized it is a rather old openvpn, didnt think apt will use this... will update it later and test again[/strike]
OpenVPN 2.2-RC x86_64-unknown-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Mar 22 2011
updating from 2.1.0 to 2.2-RC did not bring any change
server config - currently with tcp since it is stable and the http/ssh/ftp is doing fine
mode server
dev tap0
port 1194
proto tcp-server
#proto udp
#fast-io
tls-server
dh /etc/openvpn/ssl/dh2048.pem
cert /etc/openvpn/ssl/vpnserver.crt
key /etc/openvpn/ssl/vpnserver.key
ca /etc/openvpn/ssl/dl-ca.crt
reneg-sec 216000
server-bridge
keepalive 5 60
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/xxx-status 1
log /var/log/openvpn/xxx.log
verb 1
mute 10
#tun-mtu 1500
#tun-mtu-extra 32
#max-clients 253
script-security 3
tmp-dir "/etc/openvpn/temp"
#tcp-queue-limit 128
#txqueuelen 200
#tcp-nodelay
inactive 600
#tun-mtu 1400
#fragment 1300
#mssfix
#mtu-test
client config
client
dev tap
proto tcp-client
#proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
comp-lzo
persist-key
persist-tun
verb 3
mute 10
pull
ns-cert-type server
cert kosztyua.crt
key kosztyua.key
ca dl-ca.crt
tls-client
reneg-sec 0
#mtu-test
bridge
#!/bin/bash
openvpn --mktun --dev tap0
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up
ifconfig eth0 0.0.0.0 promisc up
dhclient br0