vpn does not work

761 views
Skip to first unread message

Ayush Kanodia

unread,
Jul 3, 2013, 9:44:08 AM7/3/13
to wncc...@googlegroups.com
Hi,

My windows vpn does not work. It asks for the username and password thrice on openVPN, and then says failed to connect. Is someone else facing the same issue?


--
Ayush Kanodia,

Second Year Undergraduate Student,
Computer Science and Engineering,
IIT Bombay.

Adwait Dongare

unread,
Jul 3, 2013, 9:48:45 AM7/3/13
to wncc...@googlegroups.com
It would be more easy to debug your problem if you could post the list of errors the VPN application shows.

Sometimes the IITB VPN server is down, but in such a case, the openVPN application silently make reattampts (20 or so) without asking for passwords each time. So I'm assuming you are facing another problem

Adwait Dongare,
Senior Undergraduate,
Engineering Physics,
IIT Bombay


--
--
The website for the club is http://stab-iitb.org/wncc
To post to this group, send email to wncc...@googlegroups.com
 
---
You received this message because you are subscribed to the Google Groups "Web and Coding Club IIT Bombay" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wncc_iitb+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Pratyush Nalam

unread,
Jul 3, 2013, 12:23:52 PM7/3/13
to wncc...@googlegroups.com

It asks username/password, says connected successfully and STILL internal sites don’t open. I would suggest boot into Linux, “ssh –X sec...@login.iitb.ac.in –p 5022” with password extvoxacc and then follow on screen instructions to login to mars. You can then open Firefox because you used the –X switch. Voila! Screw VPNs.

 

Pratyush Nalam

Technology. Environment. Inclusive society.

http://www.cse.iitb.ac.in/~pratnala

--

Ayush Kanodia

unread,
Jul 3, 2013, 12:32:00 PM7/3/13
to wncc...@googlegroups.com
Hi,

@Adwait: The log is attached.

@Pratyush: I am doing that on windows now, but I still wanted to figure out why VPN does not work

Thanks,

Ayush
openvpnlog.txt

Pratyush Nalam

unread,
Jul 3, 2013, 12:37:55 PM7/3/13
to wncc...@googlegroups.com

@Ayush, the –X switch doesn’t work on Cygwin/Git Bash. Only Linux will do the job.

Adwait Dongare

unread,
Jul 3, 2013, 12:56:26 PM7/3/13
to wncc...@googlegroups.com
I guess this explains it:

AUTH: Received AUTH_FAILED control message

Adwait Dongare,
Senior Undergraduate,
Engineering Physics,
IIT Bombay


Hardik Godara

unread,
Jul 3, 2013, 12:48:31 PM7/3/13
to wncc...@googlegroups.com
Me too having the same problem in windows! Connection timeout problem.

Naga Varun Dasari

unread,
Jul 3, 2013, 1:21:43 PM7/3/13
to wncc...@googlegroups.com
Try shrew soft VPN client in windows. Works for me most of the times.

Adwait Dongare

unread,
Jul 3, 2013, 1:35:27 PM7/3/13
to wncc...@googlegroups.com
Shrew Soft is no longer supported by the IITB VPN servers. As of now, openVPN is the only way.

Adwait Dongare,
Senior Undergraduate,
Engineering Physics,
IIT Bombay


Ranjeet Kumar

unread,
Jul 3, 2013, 1:37:04 PM7/3/13
to wncc...@googlegroups.com
I also had the same problem and asked the CC for a solution. They gave this solution which works fine.

Try running the OpenVPN GUI as administrator. Right click the icon "OpenVPN GUI" on the desktop and click Run as administrator. OpenVPN GUI will show up in the Notification area of the taskbar. From there connect to the IITB network by logging in with LDAP.


On Wed, Jul 3, 2013 at 7:21 PM, Naga Varun Dasari <d.nag...@gmail.com> wrote:

Pritam Baral

unread,
Jul 3, 2013, 4:49:02 PM7/3/13
to wncc...@googlegroups.com

-X is for X11 forwarding.
-D is for dynamic port forwarding.

X11 is the display architecture.
Port forwards are, well, part of the network architecture.

-X will let you run apps on the server, transmit their display to the client in order to show them.
-D will let you use a local port as SOCKS proxy that works as if you were on the server itself.

-X is slow, and rightfully so.
-D isn't, not more than the network itself.

-X is overkill.
-D is just right for the job

Regards,
Chhatoi Pritam Baral

Ayush Kanodia

unread,
Jul 3, 2013, 4:50:59 PM7/3/13
to wncc...@googlegroups.com
@Ranjeet : Oh yes. The Run as administrator thing works. I had somehow skipped it although it was there in the instructions. Thanks Ranjeet.

@Pratyush : I am running it on windows, and its working fine.

Ayush

Pritam Baral

unread,
Jul 3, 2013, 4:55:02 PM7/3/13
to wncc...@googlegroups.com
TL;DR: Use -D <port number> as a SOCKS proxy, not -X.

Pros: Good speeds, cross-platform (yes, that includes Windows.)
Cons: You'll have to configure a browser. I recommend Firefox. It has that about:config network.proxy.socks_remote_dns thing which Chrome doesn't openly have.

 

Regards,
Chhatoi Pritam Baral

ankit khandelwal

unread,
Jul 4, 2013, 12:13:29 PM7/4/13
to wncc...@googlegroups.com
Hi,

I am not able to login through VPN. Can anyone tell me why I am facing the issue as shown below(Using Windows 7):

Sun Jun 30 00:42:01 2013 NOTE: --user option is not implemented on Windows
Sun Jun 30 00:42:01 2013 NOTE: --group option is not implemented on Windows
Sun Jun 30 00:42:01 2013 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Jun  3 2013
Sun Jun 30 00:42:01 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Jun 30 00:42:01 2013 Need hold release from management interface, waiting...
Sun Jun 30 00:42:02 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Jun 30 00:42:02 2013 MANAGEMENT: CMD 'state on'
Sun Jun 30 00:42:02 2013 MANAGEMENT: CMD 'log all on'
Sun Jun 30 00:42:02 2013 MANAGEMENT: CMD 'hold off'
Sun Jun 30 00:42:02 2013 MANAGEMENT: CMD 'hold release'
Sun Jun 30 00:42:09 2013 MANAGEMENT: CMD 'username "Auth" "09007032"'
Sun Jun 30 00:42:09 2013 MANAGEMENT: CMD 'password [...]'
Sun Jun 30 00:42:10 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Jun 30 00:42:10 2013 MANAGEMENT: >STATE:1372533130,RESOLVE,,,
Sun Jun 30 00:42:10 2013 Attempting to establish TCP connection with [AF_INET]103.21.124.125:2194
Sun Jun 30 00:42:10 2013 MANAGEMENT: >STATE:1372533130,TCP_CONNECT,
,,
Sun Jun 30 00:42:11 2013 TCP: connect to [AF_INET]103.21.124.125:2194 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)
Sun Jun 30 00:42:16 2013 MANAGEMENT: >STATE:1372533136,RESOLVE,,,
Sun Jun 30 00:42:16 2013 MANAGEMENT: >STATE:1372533136,TCP_CONNECT,,,
Sun Jun 30 00:42:17 2013 TCP: connect to [AF_INET]103.21.124.125:2194 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)
Sun Jun 30 00:42:22 2013 MANAGEMENT: >STATE:1372533142,RESOLVE,,,
Sun Jun 30 00:42:22 2013 MANAGEMENT: >STATE:1372533142,TCP_CONNECT,,,
Sun Jun 30 00:42:23 2013 TCP: connect to [AF_INET]103.21.124.125:2194 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED

Ankit Khandelwal
PGP 2013-15
IIM Calcutta

aayush singhal

unread,
Jul 4, 2013, 12:04:01 AM7/4/13
to wncc...@googlegroups.com
iitb CC vpn page is not accessible from outside anymore. Can someone please share the required files and setup.

Thanks,
Aayush Singhal


On Thu, Jul 4, 2013 at 2:25 AM, Pritam Baral <chhato...@gmail.com> wrote:

Gaurav Pooniwala

unread,
Jul 4, 2013, 12:46:38 PM7/4/13
to wncc...@googlegroups.com
Gaurav Pooniwala,
Second Year B.Tech,
Department of Electrical Engineering,
Indian Institute of Technology-Bombay

Gaurav Pooniwala

unread,
Jul 4, 2013, 12:48:38 PM7/4/13
to wncc_iitb
Download the client from openvpn site

Sumit Gupta

unread,
Jul 16, 2013, 8:28:49 PM7/16/13
to WnCC
You can download the client and the config file from here

Procedure:

Download and install the Open VPN Client "openvpn-client.msi"
Once it gets installed, save the client.ovpn file
Go to connection Profiles, click on "+" sign, choose the local file importer
Insert ldap login and password, and it should work now!
Reply all
Reply to author
Forward
0 new messages