Fedora Linux Support Community & Resources Center
  #1  
Old 12th July 2006, 11:55 AM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
Question regarding VPN setup

I have a question to ask about VNC and OpenVPN with regard to setting up a VPN connection. Let me give some background as to how I currently connect to the network at work using XP at home (work servers are MS).

1. Setup a VPN via setting up a network Connection (using my work’s IP address).
2. Double-click on connection – enter logon credentials as I would when logging on at work. This connects me to the network.
3. I then use Remote Desktop Connection to log on to my machine. Instead of enetering an IP address here I enter my machine’s identity on the work network – computernumber.company.local.
4. I then can access my computer.

Now from what I have read up on VNC and OpenVPN, it seems that I would need to have the server version of either program setup on the work network. Am I correct in this assumption?
Reply With Quote
  #2  
Old 12th July 2006, 04:12 PM
wdgiles Offline
Still Nothing
 
Join Date: Dec 2004
Location: Dallas, Texas
Age: 42
Posts: 684
That is the correct assumption, but if it's already working for you why change anything? It's possible also that your work network employs some other kind of security or active directory structures that may be difficult to duplicate on the linux workstation.
__________________
You can call me Bill
Registered Linux user: 435641
1 F?? workstation, 1 XBMC PVR and two Win7 workstations.
Too many other pc's - some that are even still running.
Reply With Quote
  #3  
Old 12th July 2006, 05:18 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
The steps described are under Windows.

How do I replicate those under Linux?
Reply With Quote
  #4  
Old 13th July 2006, 09:16 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
So I installed Kvpnc and try to connect over pptp:

Code:
info: "pppd" started.
info: [pppd]local IP address xxx.x.xxx.xxx remote IP address xxx.x.xxx.xxx primary DNS address xxx.xxx.xxx.xx secondary DNS address xxx.xxx.xxx.xx 
debug: [pppd]Connection established.
info: Successful connected to server "xxx.xxx.xxx.xx" user: "username") at Thu Jul 13 22:10:39 2006
info: "PppdUpScript" started.
info: "PppdUpScript" finished.
error: [pppd err]
info: "ping_check.sh" started.
info: "PppdDownScript" started.
info: "PppdDownScript" finished.
debug: killing "pptp"...
info: Successful disconnected.
info: Connection duration was 00 hours, 00 minutes, 30 seconds
info: File /etc/ppp/chap-secrets sucessfully removed
info: "pppd route process" started.
The connection keeps on dying after 30s. I have MPPE turned of and allowing MPPE stateful mode. If I allow MPPE I get

Code:
info: [pppd]MPPE required but peer negotiation failed
Reply With Quote
  #5  
Old 13th July 2006, 10:05 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
I ditched Kvpnc and used pptpconfig as described here

I am able to connect to the network at work. If lets say in XP I use Remote Desktop Connection and enter jongi to connect to my computer, when I try to do the same using krdc it doesn't even allow me to try connect (greyed out). What shoudl I do at this point?

I have tried to use rdesktop
Code:
# rdesktop -u username -f -a 24 localhost
ERROR: connect: Connection refused
I've replaced localhost with ipaddress and ipaddress:jongi and those don't come up with any response.
Reply With Quote
  #6  
Old 14th July 2006, 02:47 AM
wdgiles Offline
Still Nothing
 
Join Date: Dec 2004
Location: Dallas, Texas
Age: 42
Posts: 684
I've only used SSH with VNC over the encrypted tunnel. I haven't really gotten as deep into the VPN side of things as you ...sorry I can't help more.
__________________
You can call me Bill
Registered Linux user: 435641
1 F?? workstation, 1 XBMC PVR and two Win7 workstations.
Too many other pc's - some that are even still running.
Reply With Quote
  #7  
Old 1st August 2006, 01:18 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
For that use VPN is what I am trying to do uncommon?
Reply With Quote
  #8  
Old 2nd August 2006, 05:25 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
Also although PPTP says that I am connected to the other network, how can I actually test that this is the case?

EDIT: On my internal network, I can do a rdp://xxx.xxx.xxx.xxx from Konqueror and it will connect to the computer. However it is not doing this to the IP of my work address.

Last edited by Jongi; 2nd August 2006 at 05:29 PM.
Reply With Quote
Reply

Tags
question, setup, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh/PuTTY setup question sidebrnz Using Fedora 12 22nd August 2008 05:25 AM
snort setup question Wiles Security and Privacy 0 10th October 2007 09:55 PM
Printing Setup Question jdpnola Using Fedora 1 9th June 2005 01:38 AM
Possible setup question FC3 & XP Drunet EOL (End Of Life) Versions 6 11th March 2005 03:37 AM


Current GMT-time: 12:07 (Thursday, 21-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat