Re: Is there a way to connect to a Microsoft VPN?

2005-08-31 Thread Lyubich, M
On Wed, 2005-08-31 at 01:23 -0400, WOB wrote:
 I normally use my 
 home Windows XP Pro box to connect to my works VPN, and then use 
 RemoteDesktop to connect to my Work PC - so I know the connections work 
 under Windows.  I want to get rid of my home Windows box.
 
 Any suggestions?  I'm kinda new, but I am trying to learn.

Take a look on /var/log/ppp.log. Probably, it will give you a bit more
insights. 

On another note, I tried pptp few days ago and did not succeed, then I
moved to mpd and it has working.  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there a way to connect to a Microsoft VPN?

2005-08-31 Thread Eric Schuele

WOB wrote:


I use /usr/ports/net/pptpclient to connect to a MS VPN endpoint and 
/usr/ports/net/rdesktop to Remote Desktop to my XP machine at the 
office.  Works great.



This sounded like what I needed to do.

When I run the pptp client, it doesn't appear to do anything.  I did the 
following:


 cd /usr/ports/net/pptpclient
 make install clean
 cd /usr/ports/net/rdesktop
 make install clean
 rehash

I found these instructions at FreeBSD Diary and tried to follow them:

 http://www.freebsddiary.org/pptp.php

My connection information is as follows:

 My workplace's outside VPN Name: vpn.wobs-work.com
 My workplace's outside VPN external IP: 100.200.300.16
 My workplace Username: wob
 My workplace Password: wobpassword
 My Workplace's Windows XP Pro PC:  5.10.15.79
 My Workplaces Internal Subnet: 5.10.15.x

 My home FreeBSD's IP: 192.168.1.25
 My FreeBSD's machine NIC: fxp0
 My home router's IP: 192.168.1.1

So I made a /etc/ppp/ppp.conf file:

 WORKVPN:
   set authname wob


If you are authenticating against a domain change the above to
   set authname domain\\wob


   set authkey wobpassword


My auth key is in double quotes.  Possibly due to enclosed punctuation I 
forget.  So try:

   set authkey wobpassword


   set timeout 0
   set ifaddr 0 0
   add 100.200.300.16/24 HISADDR


change the above add to:
   add 5.10.15.0/24 HISADDR
Should be the subnet you will be given an IP address on.  Use 
appropriate mask.



   alias enable yes

Then I ran it as root:
 cd /etc/ppp
 /usr/local/sbin/pptp vpn.wobs-work.com WORKVPN


The above is what I do although I use the IP address.  Name 'should' 
work assuming name resolution is good.




The program seems to run for about 5 seconds, then returns to shell 
prompt.  I then tried:


 /usr/local/sbin/pptp vpn.wobs-work.com WORKVPN --loglevel 2

and:

 /usr/local/sbin/pptp 100.200.300.16 WORKVPN --loglevel 2

But it still did not print out anything.

 ifconfig tun0

displays:

 tun0: flags=8010POINTOPOINT,MULTICAST mtu 1500

I think I might have to add a route command once the tunnel is up.  My 


route should be taken care of for you.

understanding is, is that the pptp client is not supposed to return to 
the shell prompt until I cancel it with a CTRL-C.  


true enough.  Or you can background it and kill it later.  Though I had 
mixed results (cores on occasion) killing it manually.   But it always 
ran fine while up and running.


I normally use my 
home Windows XP Pro box to connect to my works VPN, and then use 
RemoteDesktop to connect to my Work PC - so I know the connections work 
under Windows.  I want to get rid of my home Windows box.


Any suggestions?  I'm kinda new, but I am trying to learn.




once its up and running, your rdesktop command will look like:
   rdesktop -f -a 16 ip_address
 - or if like me you run it on alt port -
   rdesktop -f -a 16 ip_address:port

machine names of course work with functional name resolution.

--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there a way to connect to a Microsoft VPN?

2005-08-31 Thread WOB

Hi Eric,


 WORKVPN:
   set authname wob



If you are authenticating against a domain change the above to
   set authname domain\\wob



I had left out my domain, and had one IP address wrong - now it works!

Thanks !!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is there a way to connect to a Microsoft VPN?

2005-08-30 Thread WOB


Hi,

Is there a way to connect my FreeBSD 5.4 box to a Microsoft VPN?  
Basically, I use FreeBSD at home, and want to connect to my XP Pro box 
at work.  On Linux, I think they have a VPN program you can run, then 
you can use rdesktop to connect to a Windows host on the VPN LAN.  On 
FreeBSD, I have used rdesktop to control a XP Pro box, but it was in my 
house.  I tried this a year ago, but I don't think there was a way to 
get the VPN connection going, unless I bought a VPN-router, or was 
running Windows inside VMWare.


I also tried to make a VPN connection from inside QEMU, but it did not work.

Is amyone able to connect a home FreeBSD box to a remoted XP Pro box 
that is on a VPN?


I have a DSL modem, and a router from my ISP.  I might be able to buy 
another router that supports VPN's, and add it to my home LAN, and plug 
my FreeBSD box in to it (or buy another NIC and plug the 2nd NIC in to it).


thanks!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there a way to connect to a Microsoft VPN?

2005-08-30 Thread Mike Hernandez
On 8/30/05, WOB [EMAIL PROTECTED] wrote:
 Basically, I use FreeBSD at home, and want to connect to my XP Pro box
 at work.  

You could probably use openvpn. It's in ports and also available for windows.

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there a way to connect to a Microsoft VPN?

2005-08-30 Thread Eric Schuele

WOB wrote:


Hi,

Is there a way to connect my FreeBSD 5.4 box to a Microsoft VPN?  
Basically, I use FreeBSD at home, and want to connect to my XP Pro box 
at work.  On Linux, I think they have a VPN program you can run, then 
you can use rdesktop to connect to a Windows host on the VPN LAN.  On 
FreeBSD, I have used rdesktop to control a XP Pro box, but it was in my 
house.  I tried this a year ago, but I don't think there was a way to 
get the VPN connection going, unless I bought a VPN-router, or was 
running Windows inside VMWare.


I also tried to make a VPN connection from inside QEMU, but it did not 
work.


Is amyone able to connect a home FreeBSD box to a remoted XP Pro box 
that is on a VPN?


I use /usr/ports/net/pptpclient to connect to a MS VPN endpoint and 
/usr/ports/net/rdesktop to Remote Desktop to my XP machine at the 
office.  Works great.


HTH



I have a DSL modem, and a router from my ISP.  I might be able to buy 
another router that supports VPN's, and add it to my home LAN, and plug 
my FreeBSD box in to it (or buy another NIC and plug the 2nd NIC in to it).


thanks!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there a way to connect to a Microsoft VPN?

2005-08-30 Thread WOB


I use /usr/ports/net/pptpclient to connect to a MS VPN endpoint and 
/usr/ports/net/rdesktop to Remote Desktop to my XP machine at the 
office.  Works great.



This sounded like what I needed to do.

When I run the pptp client, it doesn't appear to do anything.  I did the 
following:


 cd /usr/ports/net/pptpclient
 make install clean
 cd /usr/ports/net/rdesktop
 make install clean
 rehash

I found these instructions at FreeBSD Diary and tried to follow them:

 http://www.freebsddiary.org/pptp.php

My connection information is as follows:

 My workplace's outside VPN Name: vpn.wobs-work.com
 My workplace's outside VPN external IP: 100.200.300.16
 My workplace Username: wob
 My workplace Password: wobpassword
 My Workplace's Windows XP Pro PC:  5.10.15.79
 My Workplaces Internal Subnet: 5.10.15.x

 My home FreeBSD's IP: 192.168.1.25
 My FreeBSD's machine NIC: fxp0
 My home router's IP: 192.168.1.1

So I made a /etc/ppp/ppp.conf file:

 WORKVPN:
   set authname wob
   set authkey wobpassword
   set timeout 0
   set ifaddr 0 0
   add 100.200.300.16/24 HISADDR
   alias enable yes

Then I ran it as root:
 cd /etc/ppp
 /usr/local/sbin/pptp vpn.wobs-work.com WORKVPN

The program seems to run for about 5 seconds, then returns to shell 
prompt.  I then tried:


 /usr/local/sbin/pptp vpn.wobs-work.com WORKVPN --loglevel 2

and:

 /usr/local/sbin/pptp 100.200.300.16 WORKVPN --loglevel 2

But it still did not print out anything.

 ifconfig tun0

displays:

 tun0: flags=8010POINTOPOINT,MULTICAST mtu 1500

I think I might have to add a route command once the tunnel is up.  My 
understanding is, is that the pptp client is not supposed to return to 
the shell prompt until I cancel it with a CTRL-C.  I normally use my 
home Windows XP Pro box to connect to my works VPN, and then use 
RemoteDesktop to connect to my Work PC - so I know the connections work 
under Windows.  I want to get rid of my home Windows box.


Any suggestions?  I'm kinda new, but I am trying to learn.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]