LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   internet browsing throught linux pptp server (https://www.linuxquestions.org/questions/linux-networking-3/internet-browsing-throught-linux-pptp-server-469605/)

ilnli 08-01-2006 01:48 AM

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

peter_robb 08-01-2006 02:32 AM

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.

ilnli 08-01-2006 03:12 AM

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?

ilnli 08-01-2006 03:16 AM

will there be a way to do this thing below

client<--->internet<---securedVPN--->internet<--->vpnServer<--->MainInternet

ilnli 08-01-2006 04:02 AM

what is openvpn can we browse the net throught it?

peter_robb 08-01-2006 04:16 AM

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.


All times are GMT -5. The time now is 04:46 AM.