Hi,
can somebody help me with my setup? I have two hosts each connected to core internet by 1 Gbps connection. iperf returns 900 Mbps TCP an UDP. I need to setup bridged connection from one datacenter to another and max speed I get is 170Kbps.
Schema:
VLAN --- (bridge with tap0) ROUTER1 --- INTERNET (OPENVPN) --- ROUTER2 (bridge with tap0) -- VLAN
Max speed is 170Kbps when I copy files from some internet to client connected at ROUTER2
CONFIG ROUTER1:
# Device to use
dev tap0
# Where to connect
remote 10.10.10.234
# The shared key on both servers
secret /etc/openvpn/shared.key
# Become a daemon after all initialisation functions are completed
daemon
# Local port to use and remote port to connect to
lport 1194
rport 1194
# Drop privileges
user nobody
group nogroup
# Still access the key and device when not root
persist-key
persist-tun
# Use udp transport with lzo compression
proto udp
comp-lzo
# Ping the other server every 20 seconds
ping 20
# Restart if unavailable for 60 seconds
ping-restart 60
verb 3
I Have tried this
#tun-mtu 1500
#fragment 1415
#mssfix 1410
#txqueuelen 500
ROUTER2:
# Device to use
dev tap0
# Where to connect
remote 20.20.20.123
# The shared key on both servers
secret /etc/openvpn/shared.key
# Become a daemon after all initialisation functions are completed
daemon
# Local port to use and remote port to connect to
lport 1194
rport 1194
# Drop privileges
user nobody
group nogroup
# Still access the key and device when not root
persist-key
persist-tun
# Use udp transport with lzo compression
proto udp
comp-lzo
# Ping the other server every 20 seconds
ping 20
# Restart if unavailable for 60 seconds
ping-restart 60
verb 3
I Have tried this
#tun-mtu 1500
#fragment 1415
#mssfix 1410
#txqueuelen 500
ROUTER 1:
# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.003048936f65 no eth1.159
tap0
ROUTER 2:
bridge name bridge id STP enabled interfaces
br0 8000.00259000601a no eth1
tap0
ping is low to and from remote PC. But I cannot upload/download fast from remote PC only 170Kbps.
Thank you!