LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-08-2007, 03:25 PM   #1
E-Oreo
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Rep: Reputation: 15
VPN Tunnel + Proxy Security Question (Concept not config problem)


I have just recently purchased a laptop and am preparing to take my first trip with it. During the trip I plan to use public wifi hotspots to do my web browsing and it is critical that this traffic be secured for obvious reasons. Currently, I have succeeded in setting up an encrypted VPN between my laptop (vista + kubuntu) and one of my home computers (centos). I have also successfully setup Squid on the centos box to allow my laptop to connect securely to the internet through the encrypted VPN and my home internet connection.

I am fairly certain that I have done this all correctly and my laptop should have nearly the same level of security that I would have if I were browsing from my home network. If I'm wrong in this assumption please let me know.

My next question regards https/ssl; There are some sites I would like to connect to using https to encrypt the connection between my Squid proxy server and the remote web server. My Squid is setup using the default configuration (except that my laptop's IP is allowed to use it) and my firefox browser is set to use the VPN address and Squid HTTP port (3128) for all protocals (HTTP, SSL, FTP, Gopher and SOCKS). If I type https://website.com/ into my browser everthing *appears* to work fine without furthur customization to any configuration. My question is this, is Squid using HTTPS for the connection to the remote web server or is HTTPS only being used for connecting to the proxy server and then regular HTTP for the connection to the remote server? Is it necessary to put the Squid HTTPS port into the Firefox port box for SSL Proxy or can I use the HTTP port and have it automatically recognize the HTTPS part and use SSL?

If anyone sees any possible insecurities in the setup I have described above please let me know. Also, if you have time and the necessary knowledge I was wondering if anyone could enlighten me on the advantages/disadvantages of using an SSH tunnel over a VPN for connecting to the proxy.
 
Old 03-09-2007, 11:08 AM   #2
doctorcisco
Member
 
Registered: Nov 2003
Posts: 70

Rep: Reputation: 17
1) Your arrangement seems secure enough.
2) You could double-check what Squid is doing by doing a netstat -a on the squid box and see if it's connecting to tcp port 80 or port 443 on the webserver. You could also look for this information in the nat table on your router.
3) Some hotspots don't permit VPN's of various flavors. You may want to consider natting your home router's port 80 to the squid box's port 22. ssh from the laptop to the squid box on port 80, and ssh port forward localhost port 3128 to remote port 3128. Set your browser to localhost:3128 for the proxy address. Now, as long as http traffic gets out of the hotspot you're at, your ssh traffic should work, your web proxy stuff will traverse the ssh connection, and you'll be good to go.

doc
 
  


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
Question about non-transparent proxy and VPN depam Linux - Software 2 01-15-2007 07:20 PM
proxy config question (control center) djc SUSE / openSUSE 3 02-17-2005 03:32 PM
routing problem with VPN tunnel hsiehkc Linux - Networking 0 01-16-2004 12:39 AM
Mozilla 1.4 HTTPS SSL Tunnel Proxy Problem Ynog Linux - Software 0 07-30-2003 09:19 PM
VPN tunnel dvong3 Linux - Networking 2 10-16-2002 03:20 AM

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

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

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