I would like to set up my trixbox ce v2.2.4 as a vpn server, so that windows xp clients will be able to connect to the trixbox.
I googled and tried already, but without success, please someone give me complete directions.
Thanks in advance.
I would like to set up my trixbox ce v2.2.4 as a vpn server, so that windows xp clients will be able to connect to the trixbox.
I googled and tried already, but without success, please someone give me complete directions.
Thanks in advance.
I use hamachi for that.
Kerry Garrison
http://www.VoipStore.com - http://3cxbook.com
(888) VOIPSTORE - (888) 864-7786
Yeah, go with Hamachi, unless you don't want to be tied into their mediation server. (If the mediation server is down and your Hamachi is logged off and back on, the tunnels won't reestablish until the mediation server comes back online.) A VPN server could eliminate that problem since you would be the VPN server, but with Hamachi, you don't have to make any changes to your firewall or other internet security; it's designed to bypass firewalls (nearly) transparently.
With all that said, I use Hamachi on my Trixbox servers and I established domain names pointing to each of my hamachi IPs, so when I am logged into Hamachi and in my group(s), I can go to the a domain name instead of an IP address. Very handy, especially since I have quite a few Hamachi clients configured and the IPs are hard to remember.
Sorry, I am a newbie on linux and I do not know how to set up a vpn server on such a machine. Whatever software you recommend, can you PLEASE post installlation instructions?
Thank you very much.
Goto http://www.hamachi.cc/download/list.php and download the OS version i.e WindowsXP or MAC. Suggest you will create your network here for Trixbox to join later.
For Linux, you rather follow the console setup. Supply domain-host, network and password with your own.
[root@trix ~]# su
[root@trix ~]# wget http://files.hamachi.cc/linux/hamachi-0.9.9.9-20-lnx.tar.gz
[root@trix ~]# tar -xzf hamachi-0.9.9.9-20-lnx.tar.gz
[root@trix ~]# cd hamachi-0.9.9.9-20-lnx
[root@trix ~]# make install
[root@trix ~]# sudo /sbin/tuncfg
[root@trix ~]# hamachi-init
[root@trix ~]# hamachi start
[root@trix ~]# hamachi set-nick domain-host
[root@trix ~]# hamachi login
[root@trix ~]# hamachi join network password
[root@trix ~]# hamachi go-online network
To check if it is working:
[root@trix ~]# hamachi
Hamachi, a zero-config virtual private networking utility, ver 0.9.9.9-20
version : hamachi-lnx-0.9.9.9-20
pid : 119XX
status : logged in
nickname : Mphx-Trix1
Good luck!
How can I enable this at startup?
Thanks again.
I use the following script with symbolic links placed in my startup and shutdown run-levels. The links were created by Webmin, so I'm not sure what permissions they would need. I assume +x would do it, at any rate.
#!/bin/sh
# description: This action will startup and shutdown Hamachi automatically
# chkconfig: 2345 99 00
case "$1" in
'start')
echo "Starting hamachi..."
/sbin/tuncfg
/usr/bin/hamachi start
/usr/bin/hamachi login
touch /var/lock/subsys/Hamachi
;;
'stop')
echo "Shutting down hamachi..."
/usr/bin/hamachi logout
/usr/bin/hamachi stop
#
# killall tuncfg
# I commented this out because my system seems to hang whenever it's called.
#
rm -f /var/lock/subsys/Hamachi
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
Now, you can make a script with this and then call your script with 'start' as an argument to start Hamachi and 'stop' as an argument to stop it. You can add the line /path/to/your/script/Hamachi start to your init script or you can create the symbolic links in rc3.d and rc6.d (assuming that your normal run level is 3 and your shutdown level is 6.)
I just installed this on trixbox 2.4
Can you clearly explain how to get this working at server startup? I dont understand what you want me to do with the script
Thanks
By the way, these IPs are static?
Joseph Ades
josephades1_at_gmail_dot_com
(212) 937-4299
http://logmeinwiki.com/wiki/Hamachi:Install_on_Linux
For Linux, you rather follow the console setup.
Supply domain-host, network and password with your own.
as root
cd /usr/src
wget http://files.hamachi.cc/linux/hamachi-0.9.9.9-20-lnx.tar.gz
tar -xzf hamachi-0.9.9.9-20-lnx.tar.gz
cd hamachi-0.9.9.9-20-lnx
make install
sudo /sbin/tuncfg
hamachi-init
hamachi start
hamachi set-nick {domain-host}
hamachi login
hamachi join {network} {password}
hamachi go-online {network}
To check if it is working:
hamachi
Hamachi, a zero-config virtual private networking utility, ver 0.9.9.9-20
version : hamachi-lnx-0.9.9.9-20
pid : 119XX
status : logged in
nickname : {Nick}
Thanks
It's installed
But my question is, how do I implement the script to start it automatically at server startup, and shutdown at server shutdown (if shutdown is necessary)?
Thanks
Joseph Ades
josephades1_at_gmail_dot_com
(212) 937-4299
Sorry I just assumed Paul had a startup script in the wiki
The simple way to make a script, (as root) put all the commandline text in there
just as it works when you type it into the console, make it executable, and add the path to the script to the bottom of /etc/rc.local
I think maybe you can just use webmin to add it to the start up as well (never check it but it should be there)
https://forums.hamachi.cc/viewtopic.php?t=9376&highlight=startup
it tells me:
cannnot find configuration directory //.hamachi
I dont know why it says that
I know that if I did a ./hamachi start it wouldnt work either
but in the rc.local i put those 3 lines of scripts like this:
/sbin/tuncfg
/usr/bin/hamachi start
/usr/bin/hamachi login
Joseph Ades
josephades1_at_gmail_dot_com
(212) 937-4299
got it working at the end
thanks
Joseph Ades
josephades1_at_gmail_dot_com
(212) 937-4299
Copyright © 2011 Fonality
Fonality and trixbox are trademarks of Fonality. Trademark Policy. Privacy Policy.
Asterisk is a trademark of Digium, Inc. Fonality and trixbox are not affiliated with, nor endorsed by Digium, Inc.
Member Since:
2007-10-12