LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-03-2008, 12:07 PM   #1
granduke
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
passing internet traffic through a vpn


I want to browse the web from a hotspot through openVPN to my home and use that internet connection.
I've been reading different opinions to do this. Some say only the vpn tunnel is needed, others say a proxy is also needed, and still others say a tunnel and ip forwarding will do it.

Which is it?
 
Old 10-03-2008, 02:52 PM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi granduke,

well - all of those methods works. if your home gateway does have a proxy/firewall then you need to allow your remote connection to the internet via the tunnel. if you dont have it, then a basic tunnel will do.

but, this is a bit complicated.
since you already have a default gateway from the hotspot - you need to make a route preference (route with lower metric), or to route tcp 80 through the tunnel. create a PBR (policy-based routing) from remote machine to internet (0/0 tcp 80) via tunnel.

and that is why some suggest you to use a proxy so you dont have to create PBR - a lot easier - just put your home proxy address in the browser and let the tunnel deliver your request.

HTH.
 
  


Reply


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
forward port 80 to squid + passing all other traffic Obig Linux - Networking 1 06-02-2008 02:48 PM
VT6120 Gigabit Ethernet Adapter not passing multicast traffic bartock Linux - Networking 2 03-17-2008 01:04 PM
Router not passing internet traffic Spinlock Linux - Wireless Networking 2 02-02-2006 04:55 PM
VPN in/nix passing connection to another host. phatboyz Linux - Networking 0 12-31-2004 09:14 AM
PPP Through Slackware 9.1 -- No traffic passing bburgy Linux - Software 4 08-05-2004 01:13 PM


All times are GMT -5. The time now is 01:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration