OpenVPN connection problem
I installed OpenVPN so I could do NFS at school. My server and client are both Debian Lenny. My server seems to be working fine. My laptop is having trouble communicating with the server once it connects. The connection initialization is fine. There are no errors spit back. When I try to ping the server, I can not. I get the message
Code:
sudo ping 10.78.11.1 Code:
sudo route Quote:
|
to mods, this belongs to linux networking category ;)
to the OP: please provide a clear situation overview, and post your vpn configs, so we can have a look, maybe you've missed something. Or wrong ip's on the wrong places.. etc Also give us ip addresses, of machines (wan side, internal site, virtual sides, etcetc) you can mask some addresses for privacy reasons, e.g. 123.543.223.123 could be written as 123.xxx.xxx.123. of it's provided that the middle numbers/octets are not important. |
What ISP do you use?
Some ISP's block VPN ports and make you 'upgrade' to business class service for it. When you connect from the client to the server, what output do you see? Are you testing from inside your network? I know I can't use my OpenVPN inside the network, so I had to test from a friends house. |
2 Attachment(s)
Sorry about the wrong section. I don't know what posessed me to put it here instead of in networking. My files are attached. Client is the client that is being a pain. The server file is there also. I am on a campus network. Rather than having a private network, my computer has its own dns name. I can access it directly from the internet. Its current IP is 131.xxx.xxx.101. I would rather have a private network, but campus policy will not allow it. Everything here gets its own DNS name and takes a DHCP lease when it connects (no exceptions). In my config file, my server has its DNS name listed. I still think it is a problem on the client side just because I can't ping it (the client) on port 1194 even though my port is open in my firewall (firestarter).
thanks for the replies |
Have you tried doing a portscan of your machine to ensure that the port is not being blocked? Use your laptop from another location and try using nmap/wireshark to find out what ports are visible. I have a feeling that your campus network may not allow access to this port.
http://www.wireshark.org/ Youtube has a few howto's posted on using it. http://www.youtube.com/watch?v=jzkUuc5jK8Q |
Found the problem.
http://www.fs-security.com/docs/vpn.php Opening the port in the firewall is not enough. The interface can not be firewalled. Firestarter doesn't support this yet. Adding the lines there to both linux boxes took care of my problem. I can now ping my server no problem. Thanks for all the help. |
All times are GMT -5. The time now is 11:48 AM. |