Instruction for 'Idiot'

3 views
Skip to first unread message

Krystia...@gmail.com

unread,
Feb 10, 2008, 8:55:31 AM2/10/08
to LeapingBytesAlmostVPN
Can someone explain me how to sat AVPN to work with Safari (?)
In my opinion documentation is a little bit disaster. I have read it
few times and known nothing.
In "how to" is "how to set simple http tunnel" and i did it but in
this example there is in use port nr. 60080 but there is no
explanation why and if there is some need to manipulate settings for
safari (?)

With Kind Regards
Krystian

psI have AVPN 1.6 for Leopard.

Leaping Bytes, LLC

unread,
Feb 11, 2008, 9:08:57 AM2/11/08
to LeapingBytesAlmostVPN
Hi Krystian,
What exactly you trying to accomplish? Usually people will want to
do one of two things:

1) Configure single ssh tunnel to particular web site,
2) Make all Web traffic to go through ssh tunnel.

Please let me know which of these 2 things you are trying to do and I
will gladly provide further instructions.

Andrei Tchijov
Leaping Bytes, LLC

Krystia...@gmail.com

unread,
Feb 11, 2008, 9:49:10 AM2/11/08
to LeapingBytesAlmostVPN
Hallo Andrei,

I would like to redirect all http traffic to ssh tunnel.
I have correct connection to my ssh server (green light).
I have add http service to server. In profile I set source port nr 80
(because I wont redirect normal traffic which go to 80) - in
destination port nr is 80 (as in service settings).
I understand that if I will fill port number in source with 60080 it
means that potential http traffic must be send on my local machine to
this port (for example Safari must redirect its request on 60080
port)

Maybe my mistake is connected with correct host settings (?)

With Kind Regards
Krystian

p.s. my ssh server works on port 80 (by there is no message that there
is port conflict)

Leaping Bytes, LLC

unread,
Feb 13, 2008, 7:48:44 AM2/13/08
to LeapingBytesAlmostVPN
Sorry for delay.

To have all web traffic re-directed via SSH you will have to use so
called "Dynamic Proxy" feature of AVPN. This is how you can do it.

1) In Preferences/General/Extras check "run" for "Dynamic Proxies".
2) Configure AVPN to access your SSH Server ( it looks like you
already have done this step )
3) Create new profile and drag your SSH Server (the one you configured
in prev step) into it.
4) Start profile.

At this point you will have AVPN acting as "SOCKS" proxy on your box.
If you are using FireFox, you can configure it to use this SOCKS proxy
(Preferences/Advance/Network/Settings Manual Proxy Configuration
SOCKS Host 127.0.0.1 port 1080 ). Alternatively, you can configure
access via SOCKS proxy system wide ( System Preferences/Network/
Advanced/Proxies Configure Proxies Manually SOCKS Proxy Host
127.0.0.1 port 1080 ).

NOTE: You can make your life a little bit easier if you check "control
system settings" checkbox when configuring AVPN's "Dynamic Proxy"
functionality (step 1). With this check box checked, AVPN will change
System Wide Proxy settings for you each time you running your profile
(configured in step 3).
Reply all
Reply to author
Forward
0 new messages