LinuxQuestions.org
Register a domain and help support LQ
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 08-01-2006, 02:48 AM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
internet browsing throught linux pptp server


Hi guys,

can any one tell me what is VPN Masquerading and how can a vpnClient browse the internet throught vpn(pptpd)server on linux..

some linke


internet <--->(linux pptpd vpn server)<--------->Client

regards,
Imran
 
Old 08-01-2006, 03:32 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
The pptp server allocates an ip address on the local server for the remote client.

VPN Masquerading is where packets leaving your connected network are sent down the pptp tunnel with the new pptp client ip address, rather than down the internet ip address your connection has.

PPTP was intended for remote clients to access local services, rather than routing back out into the Internet, so that has to be setup manually. What you need is a proxy address so that you can use a web browser.
 
Old 08-01-2006, 04:12 AM   #3
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
Hi peter_robb,

can you explain me a bit more that why we need proxy option there? We should be able to route the packets can't we?
 
Old 08-01-2006, 04:16 AM   #4
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
will there be a way to do this thing below

client<--->internet<---securedVPN--->internet<--->vpnServer<--->MainInternet
 
Old 08-01-2006, 05:02 AM   #5
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
what is openvpn can we browse the net throught it?
 
Old 08-01-2006, 05:16 AM   #6
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
There's a routing problem at the client end.
You can have many gateways to external networks, but you need to tell the operating system which packets go where. The pptp tunnel is established inside an existing internet connection, which has a default gateway address. If you use another default gateway, the pptp tunnel collapses because it stops using the existing internet connection.

With pptp, you have another internal network address, so routing is easy. To find this new network, use the pptp tunnel..
Applications need to be told which connection to use to find the path out of the current network, the network default routing.
This is possible in Linux/Unix environments with application routing software, but not in the M$ world. And pptp is an M$ protocol. It was never designed to do this.

Proxies are the answer, as many applications can be setup to use a proxy that exists on the pptp server, which can access the internet directly.
 
  


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
cannot connect to internet throught lan artman62 Linux - Networking 3 12-30-2004 09:19 PM
wireless browsing setting pptp 1.5 000000 Linux - Wireless Networking 0 11-18-2004 12:56 PM
Why would a linux pptp server give out a loopback subnet mask SSBN Linux - Networking 1 07-21-2003 02:23 AM
Can't access the internet throught DCHP after compiling and installing a new kernel Rodcl Linux - Networking 4 08-23-2002 04:25 PM
send mail from linux throught wingate server to isp? nick_yee Linux - Networking 0 02-24-2002 11:06 PM


All times are GMT -5. The time now is 05:08 AM.

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