How Can I install Linux Client on Centos 5.1
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
How Can I install Linux Client on Centos 5.1
Would you please someone help me to know how can I install VPNclient on CENTOS 5.1 I have did it before but I am unable to complete the process which I have got an error when I want to start it.
******Here is the error:
/etc/init.d/vpnclient: line 7: 21132 Segmentation fault $DAEMON start
****Here is my DEAMON
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Client
DAEMON=/usr/bin/vpnclient/vpnclient
LOCK=/var/lock/subsys/vpnclient
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
Thanks,
******Here is the error:
/etc/init.d/vpnclient: line 7: 21132 Segmentation fault $DAEMON start
****Here is my DEAMON
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Client
DAEMON=/usr/bin/vpnclient/vpnclient
LOCK=/var/lock/subsys/vpnclient
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
Thanks,
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: How Can I install Linux Client on Centos 5.1
Post output of "ls -la /usr/bin/vpnclient"
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
here you are
[root@main ~]# ls -la /usr/bin/vpnclient
total 7996
drwxr-xr-x 2 root root 4096 Apr 2 04:03 .
drwxr-xr-x 3 root root 20480 Apr 2 04:03 ..
-rwxr-xr-x 1 root root 1009432 Apr 2 00:26 hamcore.se2
-rwxr-xr-x 1 root root 3566218 Apr 2 00:26 vpnclient
-rwxr-xr-x 1 root root 3566097 Apr 2 00:26 vpncmd
[root@main ~]#
[root@main ~]# ls -la /usr/bin/vpnclient
total 7996
drwxr-xr-x 2 root root 4096 Apr 2 04:03 .
drwxr-xr-x 3 root root 20480 Apr 2 04:03 ..
-rwxr-xr-x 1 root root 1009432 Apr 2 00:26 hamcore.se2
-rwxr-xr-x 1 root root 3566218 Apr 2 00:26 vpnclient
-rwxr-xr-x 1 root root 3566097 Apr 2 00:26 vpncmd
[root@main ~]#
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: How Can I install Linux Client on Centos 5.1
Did you install SE from 3rd party RPM package or compiled SE yourself?
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
I did follow the instruction here
Last edited by andy_hay911 on Wed Apr 02, 2014 2:01 pm, edited 1 time in total.
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: How Can I install Linux Client on Centos 5.1
post the result of "uname -a" please
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
[root@main ~]# uname -a
Linux main 2.6.18-371.6.1.el5 #1 SMP Wed Mar 12 20:08:05 EDT 2014 i686 i686 i386 GNU/Linux
You have new mail in /var/spool/mail/root
[root@main ~]#
Linux main 2.6.18-371.6.1.el5 #1 SMP Wed Mar 12 20:08:05 EDT 2014 i686 i686 i386 GNU/Linux
You have new mail in /var/spool/mail/root
[root@main ~]#
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: How Can I install Linux Client on Centos 5.1
Your OS is 32 bit... that manual is for 64 bit systems.
Take care.
Take care.
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
I did install the 32 bit tar file and I did follow the instruction will it make difference ?
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: How Can I install Linux Client on Centos 5.1
show the name of the file you downloaded.
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
softether-vpnclient-v4.06-9435-beta-2014.03.26-linux-x86-32bit.tar.g z
how can I delete all the files related to and re-compile it one more time is it enough to just delete all folder?
Thanks,
how can I delete all the files related to and re-compile it one more time is it enough to just delete all folder?
Thanks,
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: How Can I install Linux Client on Centos 5.1
andy_hay911 wrote:
> softether-vpnclient-v4.06-9435-beta-2014.03.26-linux-x86-32bit.tar.g
z
> how can I delete all the files related to and re-compile it one more time
> is it enough to just delete all folder?
yes and report back.
> softether-vpnclient-v4.06-9435-beta-2014.03.26-linux-x86-32bit.tar.g
z
> how can I delete all the files related to and re-compile it one more time
> is it enough to just delete all folder?
yes and report back.
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
It works my typo or mistake on ver.
Do you have any Idea how to push the VPN to only use ICMP tunnel ?
Thanks,
Do you have any Idea how to push the VPN to only use ICMP tunnel ?
Thanks,
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: How Can I install Linux Client on Centos 5.1
andy_hay911 wrote:
> Do you have any Idea how to push the VPN to only use ICMP tunnel ?
I know how to establish a VPN connection using ICMP, but I have no any idea "how to push the VPN to only use ICMP tunnel".
Cheers!
> Do you have any Idea how to push the VPN to only use ICMP tunnel ?
I know how to establish a VPN connection using ICMP, but I have no any idea "how to push the VPN to only use ICMP tunnel".
Cheers!
-
- Posts: 30
- Joined: Fri Mar 21, 2014 2:11 am
Re: How Can I install Linux Client on Centos 5.1
maybe disabling Nat Traversal, enable VPN over ICMP, and client side connects to a port that ain't listening in server side. Client will try to establish for TCP, UDP, ICMP and DNS. Using random TCP port that's not listening will eventually fail, Random UDP port will also fail as Nat Traversal is disabled, Vpn over DNS should be disable so it will also fail and so the only connection left would be ICMP. But this is just a theory base on my understanding with the source. :P I haven't tried it.
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
Thanks, Do you have any Idea how can I edit client config file via vim editor in linux?
what is the config file name in linux?
Thanks
what is the config file name in linux?
Thanks
-
- Posts: 30
- Joined: Fri Mar 21, 2014 2:11 am
Re: How Can I install Linux Client on Centos 5.1
you can edit the files called vpn_server.config in /usr/local/vpnserver or /usr/vpnserver where you install it. I never use vim though as im use to nano. After modifying the config just restart the vpnserver service and you are good to go. I just tested it and turns out that my theory works.
I also tested VPN over DNS but the thing is it doesn't retrieve the ip as it should. Maybe it go something to do with my settings.
I also tested VPN over DNS but the thing is it doesn't retrieve the ip as it should. Maybe it go something to do with my settings.
-
- Posts: 15
- Joined: Wed Apr 02, 2014 11:11 am
Re: How Can I install Linux Client on Centos 5.1
Thanks do you have any Idea how to add PUBLIC IP address and assign it to the vpn client?
I need to give static public IP address which I have couple routed to the server to the specific user on VPN server or to the virtual hub to give this opportunity to the user to use valid static IP instead of NAT or DHCP IP.
Thanks
I need to give static public IP address which I have couple routed to the server to the specific user on VPN server or to the virtual hub to give this opportunity to the user to use valid static IP instead of NAT or DHCP IP.
Thanks
-
- Posts: 2
- Joined: Sun Aug 30, 2015 10:18 pm
Re: How Can I install Linux Client on Centos 5.1
To make vpn over dns work, you need to connect through a dns serivice or use your server hostname, not the public IP address, I have a similar set up that works for me, I am able to connect to the internet for free through an ISP portal, the only problem is that sometimes it doesn't connect straight way until I connect to a direct internet connection and then disconnect and connect to my ISP portal internet again.
You need to set an A record on a domain you already own pointing to your server Public IP. then connect with that sub-domain.
You need to set an A record on a domain you already own pointing to your server Public IP. then connect with that sub-domain.