fmanki
Hello guys,
I's need some help to configure my OpenVNP stuff.
The setup: I have a site (siteA) in Europe, couple of PCs, a server (Win 2008 R2) and an ISP managed router and fixed, public IP. Also have a server (siteB) (Win 2008 R2) on another ISP with fixed public IP and a partner (SiteC) in the USA.
My goal: Route all traffic from siteA through siteB to siteC
Reason: My ISP on SiteA offers fixed 30/30 Mbits, but only to inland directions. Bandwidth to USA is poor. I need the upload large files, broadcast streams etc to siteC, so I placed a server in a server hotel, which has another ISP and pretty good international line. In my head, it was easy. I've created the tunnel via OpenVPN, but upload speed from siteA is still poor. It's the same like not using VPN. To be short, I want to use my international ISP on siteA, obviously with the bandwidth limit of my local ISP.
Configuration: Clients on siteA receives private addresses via DHCP from serverA. ServerA has Internet connection and has a configured OpenVPN tunnel. Private addresses are NATted to VPN's TAP Adapter. On serverB, there is the VPN's TAP adapter, which is NATted to the server's punlic Interface.
The siteA OpenVPN client config:
dev tun
remote SiteB.address
proto udp
port 1194
ifconfig 10.56.2.2 10.56.2.1
secret C:\\Temp\\static.key
comp-lzo
redirect-gateway
verb 3
The siteB OpenVPN server config:
dev tun
port 1194
proto udp
ifconfig 10.56.2.1 10.56.2.2
secret C:\\Temp\\static.key
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
comp-lzo
verb 3
Thanks for any help.