Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-08-2009, 06:01 PM   #1
Registered: Sep 2008
Posts: 68

Rep: Reputation: 16
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 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No NAT from squid zmunawar1 Linux - Server 1 07-21-2008 01:48 AM
Will IPTables w/ NAT conflict w/ OpenVPN? licht Linux - Security 1 07-19-2007 09:22 PM
OpenVPN could not connect using squid proxy depam Linux - Software 1 01-13-2007 09:50 PM
Squid behind a NAT/FW colonyofcrumbs Linux - Networking 3 05-17-2005 11:18 PM
Squid with NAT azfar Linux - Networking 5 11-24-2004 09:54 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration