NAT vs Squid w/ Openvpn + Hulu
Hi Folks.
I have a Linux Virtual Machine (running in esxi) and it is connected to an openvpn server (So my VM is an openvpn client). I have enabled IP forwarding and natting to enable my machines on my lan to use this machine as a gateway:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -j MASQUERADE
This would then tunnel all connections from my LAN clients over the VPN. This does work however when I try and access Hulu, the video buffers A LOT (The only real way to watch it is to pause it and wait for it to buffer fully).
If however I install squid on this Linux VM, and run proxifier on my LAN clients, hulu works like a charm. What is strange though is that speedtest.net gives near identical results regarless if I use the reouting way or proxy way.
Any ideas what's going wrong?
I have tried this both on Debian Etch and Ubuntu 8.04 with the same thing.
Could it have something to do with state?
Your help is appreciated cheers
|