09-23-2013
VPN Initial Connection Problem
Hey everyone. I have a problem, but it may be my lack of understanding that is the cause. Ok so I attend a technical school, and needless to say there's a lot of wannabe hackers, pranksters and what not.
So from my laptop I'd like to connect to the wireless AP's around campus, but security is a concern of mine. So I'd like to use SSH to create a tunnel to the AP, and back to my house where I have an 'always on' connection. The whereabouts of my location doesn't matter, I'm doing it more just to have a secure connection to the wifi access point, from potential wireshark captures and man in the middle attacks.
My problem is thus, I want to do an ssh user@hostaddress -D 8080 from the terminal. This says create a secure connection to my user at my home address, and put all traffic through port 8080. But I can't execute this because my school has one of those "Login to use wifi" pages. Where you must supply your credentials that you are a student before any connections can be made.
So I'd have to put in my student ID and password, before I can even set up the tunnel to the wifi. This isn't just with my school, it's also at starbucks. You must supply a password to their wifi, unencrypted, before you can set up the vpn to the AP. This first initial step may seem trivial, but it's the kind of thing I want to avoid. Is there anyway to set up the vpn to the AP before having to prove my access to the login page?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All:
I need a script that can be timed to run every half hour to an hour to run a traceroute through a VPN to test that a connection is still up from a Win XP system. Which would be the best, C++ or Perl and what are some good resources to look at.
(If anyone has a script to do this... (1 Reply)
Discussion started by: maxhewitt
1 Replies
2. Linux
Trying to connect to my companies VPN with vpnc but I keep getting an error that the target failed to respond. I run wireshark and see that my host sends out a few ISAKMP packets but gets no response and gives up.
Any ideas what can cause this to happen? Is there someway that UDP traffic could... (0 Replies)
Discussion started by: osulinux
0 Replies
3. IP Networking
Hello,
I have question about VPN connection thats,
I have two networks
1-Office Network
2-Home Network
both are connected to internet
i have in Office network PPTP VPN Server with real or static ip and on the home network all clients working with local ip
Now ,
I need to connect to... (3 Replies)
Discussion started by: LinuxCommandos
3 Replies
4. Emergency UNIX and Linux Support
This is a weird problem I've been butting my head against for days now...
I have two OpenVPN servers set up with identical configurations except for the keys. One of them is hosted in a datacenter with a large backbone, the other is hosted on my home server's limited residential internet. One... (9 Replies)
Discussion started by: Corona688
9 Replies
5. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
6. SCO
I would like to know if anyone has a way to PRINT TO a printer attached to a Windows 7 PC, from SCO, while logged in via a VPN connection.
I am able to attach to a Samba share on the SCO server for files while attached to the VPN, so I know my Samba is workling - but my print jobs return:
... (2 Replies)
Discussion started by: tbb999
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Gurus of UNIX, I have a problem when I try to install a software VPN Cisco in Laptop (HP530).
I do the following procedures:
Part 2 - VPN Client Compilation
We will now set up the vpn client. As there is no official Cisco VPN Client for OpenSolaris X86 available, we will use vpnc.... (1 Reply)
Discussion started by: andresguillen
1 Replies
8. IP Networking
I have a Cisco 1841 router configured as Easy VPN Server. Here is the configuration of the router:
Cisco# Cisco#show running-config Building configuration... Current configura - Pastebin.com
I have a Centos 5.7 server with installed Cisco VPN client for Linux. The client successfully... (0 Replies)
Discussion started by: rcbandit
0 Replies
9. IP Networking
Hi.
Can you please help me with a routing problem?
There are 2 networks:
192.168.10.0/24 (eth0)
192.168.11.0/24 (eth0:1)
The default gateway is 192.168.10.1
iPv4 routing is already enabled and working.
With vpnc I've built up an VPN connection and can access my home network... (0 Replies)
Discussion started by: tschmi
0 Replies
LEARN ABOUT DEBIAN
proxytunnel
PROXYTUNNEL(1) General Commands Manual PROXYTUNNEL(1)
NAME
proxytunnel - program to tunnel a connection throught an standard HTTPS proxy.
SYNOPSIS
proxytunnel [options]
DESCRIPTION
This manual page documents the proxytunnel command.
proxytunnel is a program that open a tunnel through a HTTPS proxy.
OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-').
-h, --help
Print help and exit.
-V, --version
Print the version of the program and exit.
-i, --inetd
Run from inetd. Default is off.
-a PORT, --standalone=PORT
Run as standalone daemon on specified port.
-p host:port, --proxy=host:port
The local HTTPS proxy host:port combo to connect to.
-r host:port, --remproxy=host:port
The second-level (remote) proxy host:port to connect to when using two proxies.
-d host:port, --dest=host:port
The destination host:port to built the tunnel to.
-e, --encrypt
Encrypt the data between the local proxy and the destination using SSL.
-E, --encrypt-proxy
Encrypt the data between the client and the local proxy using SSL.
-B, --buggy-encrypt-proxy
Encrypt the data between the client and the local proxy using SSL, but stop using SSL immediately after the CONNECT exchange to
workaround server bugs. (Might not work on all setups; see /usr/share/doc/proxytunnel/README.Debian.gz for more details.)
-X, --encrypt-remproxy
Encrypt the data between the local proxy and the second-level proxy using SSL.
-F STRING, --passfile=STRING
The file containing Username & Password to send to HTTPS proxy for authentification. This file uses the same format as .wgetrc, and
so can use the credentials in common with wget. This option can be used to at least hide the password from anyone clever enough to
use the `ps' command.
-P user:pass, --proxyauth=user:pass
The credentials to use for local HTTP(S) proxy authentication.
-R user:pass, --remproxyauth=user:pass
The credentials to use for remote HTTP(S) proxy authentication.
-N, --ntlm
Use NTLM-based authentication.
-t DOMAIN, --domain=DOMAIN
The NTLM domain to use, default is to autodetect.
-H STRING, --header=STRING
Additional HTTP headers to send to the proxy.
-x STRING, --proctitle=STRING
Use a different process title.
-v, --verbose
Turn on verbosity. Default is off.
-q, --quiet
Suppress messages. Default is off.
NOTES
To use this program with OpenSSH to connect to a host somewhere, create a $HOME/.ssh/config file with the following content:
Host foobar
ProtocolKeepAlives 30
ProxyCommand /usr/bin/proxytunnel -p proxy.customer.com:8080
-P user:password -d mybox.athome.nl:443
If your proxy doesn't require the username and password for using it, you can skip these options.
If you want to run proxytunnel from inetd add the '--inetd' option.
Most HTTPS proxies do not allow access to ports other than 443 (HTTPS) and 563 (SNEWS), so some hacking is necessary to start the SSH dae-
mon on the required port. (On the server side add an extra Port statement in the sshd_config file)
AUTHOR
This manual page was written by Loic Le Guyader <loic.leguyader@laposte.net> and updated by Julian Gilbey <jdg@debian.org> for the Debian
GNU/Linux system (but may be used by others).
August 30, 2009 PROXYTUNNEL(1)