On 31/03/10 16:26,
occassionally-(E-Mail Removed) wrote:
> Reading the above Draytek stuff, they seem to just use a standard www
> browser as the client, but this obviously works only with host apps
> which interact with an HTTPS browser (I cannot think of any such app
> myself;
Quite. Web servers that aren't capable of SSL that one would want remote
access to must be few and far between.
> They also offer the option of a download of a client tunneling program
> (a java active-x thingy) which then gives a normal VPN functionality.
> This is the bit I would need for e.g. pc/anywhere which is the main
> app I run over the VPN.
You mentioned elsewhere that you wanted this to work with phones etc.
You can forget about installing an ActiveX control on a Nokia phone.
> Also curiously one needs to enable the remote management mode in the
> router, on HTTPS only, for the SSL VPN to work. I can understand this,
> but surely this means port 443 is going to be hacked mercilessly.
So pick a good username and password - but you should be doing that anyway!
> Maybe a response to a port sniffer on port 443 is just an unavoidable
> side effect of any SSL VPN?
If you want to able to access it from anywhere [eg use it from a mobile
network], then it will have to respond to connection attempts from
anywhere to port 443.
> Which begs the question of which ports does a PPTP VPN appear on? I
> got somebody to do a port scan on my IP and apart from the obvious
> ports he found nothing open.
http://en.wikipedia.org/wiki/PPTP
Port 1723 + GRE.
> I would expect a VPN router to not respond to port sniffers unless it
> first receives a data packet which contains a part of the user's
> password or something like that.
Not how TCP works. Data [ie packets that would confirm the user's
identity] won't start flowing until the connection has been established.
<http://en.wikipedia.org/wiki/Transmission_Control_Protocol#Connection_establish ment>
> Otherwise, this opens up the router to an easy DOS attack, especially
> on an ADSL connection with a fast downlink speed e.g. 8Mbits/sec
Bad news I'm afraid: if you're using DSL [or any kind of low-bandwidth
connection for that matter] you're already an easy target for a DOS.
Doesn't matter if your router responds or not.
> The other thing I can't get my head around is how would one run an
> HTTPS server behind this router. Currently we run an HTTP server
> behind ours, which is trivial. Presumably the 2955 must be
> configurable for an automatic "pass-through" so any traffic not
> destined for the remote admin function, and not destined for one of
> the VPN users, gets passed through to the internal network?
But how would it know?
This problem is not unique to a router offering SSL VPN; for customers
who have HTTPS servers and only one public IP address, I would usually
put the router or firewall management interface on a different port. If
one wanted to be clever, one could use squid as a reverse proxy
listening on 443, and route connections to the relevant internal host by
the URL requested. No guarantees this will work, especially if the SSL
VPN isn't HTTPS.
--
<http://ale.cx/> (AIM:troffasky) ((E-Mail Removed))
20:40:30 up 56 days, 44 min, 1 user, load average: 0.63, 0.27, 0.21
It is better to have been wasted and then sober
than to never have been wasted at all