LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2009, 05:01 PM   #1
jonnytabpni
Member
 
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 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
 
  


Reply



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 12:48 AM
Will IPTables w/ NAT conflict w/ OpenVPN? licht Linux - Security 1 07-19-2007 08:22 PM
OpenVPN could not connect using squid proxy depam Linux - Software 1 01-13-2007 08:50 PM
Squid behind a NAT/FW colonyofcrumbs Linux - Networking 3 05-17-2005 10:18 PM
Squid with NAT azfar Linux - Networking 5 11-24-2004 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:04 PM.

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