I have 3 questions:
1. How to turn on "Remote Access to VPN server" in linux ?
In the webpage http://www.vpnazure.net/en/, the first step is to turn on "Remote Access to VPN server". But I cannot turn it on in LINUX shell, I have to use a client manager in windows to connect to the vpn server to activate it.
2. I cannot connect my VPNAzure server using linux client?
I cannot use linux client to connect to the the VPN server. But I can use SSTP of win7 to connect to the VPN Azure server.
3. I can connect to VPNAzure server in WIN7 via SSTP, but I cannot access the server using SSH. How can I solve this problem?
-------------------configuration-------------------
softether server:
1. OS
Linux x64
2. ifconfig -a
eth0      Link encap:Ethernet  HWaddr D4:3D:7E:72:79:7E  
          inet addr:192.168.100.100  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::d63d:7eff:fe72:797e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17498523 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17331913 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2531006814 (2.3 GiB)  TX bytes:10040678451 (9.3 GiB)
          Interrupt:16 Memory:dfd00000-dfd20000 
eth1      Link encap:Ethernet  HWaddr D4:3D:7E:72:79:7F  
          inet addr:192.168.1.135  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::d63d:7eff:fe72:797f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18255965 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30413569 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6205897356 (5.7 GiB)  TX bytes:41790222606 (38.9 GiB)
          Interrupt:17 Memory:dfc00000-dfc20000 
Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
ib0       Link encap:InfiniBand  HWaddr A0:00:01:00:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00  
          inet addr:10.0.0.100  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f652:1403:84:5071/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
          RX packets:378351051 errors:0 dropped:2324 overruns:0 frame:0
          TX packets:21676035 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:709314541048 (660.6 GiB)  TX bytes:34362001036 (32.0 GiB)
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:39045259 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39045259 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:19228543345 (17.9 GiB)  TX bytes:19228543345 (17.9 GiB)
3. uname -a
Linux mu01 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
4.  build number of SoftEther VPN
softether-vpnserver-v4.19-9599-beta-2015.10.19-linux-x64-64bit.tar.gz
5. Which SoftEther VPN component are you using?
softether vpn server without root privilege and VPN Azure
6. Whether or not there is a NAT or Firewall between your VPN server and the Internet.
There is a Firewall, but I cannot access the router and firewall. So I used the vpn azure.
7. Are you using SecureNAT?
I do not understand what is SecureNAT.
8.  I just follow the instructions in http://www.vpnazure.net/en/
vpn client
1. OS
linux x64
2. ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:347 errors:0 dropped:0 overruns:0 frame:0
          TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1120990 (1.1 MB)  TX bytes:1120990 (1.1 MB)
venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:40594898 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36080243 errors:0 dropped:529 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:45133883323 (45.1 GB)  TX bytes:23983126171 (23.9 GB)
venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:104.160.32.72  P-t-P:104.160.32.72  Bcast:104.160.32.72  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
vpn_vpn_nic Link encap:Ethernet  HWaddr 00:ac:f2:3f:93:3c  
          inet6 addr: fe80::2ac:f2ff:fe3f:933c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
3. uname -a
Linux localhost 2.6.32-042stab108.2 #1 SMP Tue May 12 18:07:50 MSK 2015 x86_64 x86_64 x86_64 
4. build number
softether-vpnclient-v4.19-9582-beta-2015.10.06-linux-x64-64bit.tar.gz
5. component
vpnclient
6. nat or firewall
NO, it is a bandwagon host vps
7. secureNAT?
NO, i do not know what it is
8. config
vpn_client.config
# Software Configuration File
# ---------------------------
# 
# You may edit this file when the VPN Server / Client / Bridge program is not running.
# 
# In prior to edit this file manually by your text editor,
# shutdown the VPN Server / Client / Bridge background service.
# Otherwise, all changes will be lost.
# 
declare root
{
        bool DisableRelayServer false
        bool DontSavePassword false
        bool EnableVPNGateService false
        byte EncryptedPassword ******
        bool HideVPNGateServiceMessage false
        bool PasswordRemoteOnly true
        string UserAgent Mozilla/5.0$20(Windows$20NT$206.3;$20WOW64;$20rv:29.0)$20Gecko/20100101$20Firefox/29.0
        uint UseSecureDeviceId 0
        declare AccountDatabase
        {
                declare Account0
                {
                        bool CheckServerCert false
                        uint64 CreateDateTime 1448765368891
                        uint64 LastConnectDateTime 1449278047923
                        string ShortcutKey ***
                        bool StartupAccount false
                        uint64 UpdateDateTime 1449278044309
                        declare ClientAuth
                        {
                                uint AuthType 1
                                byte HashedPassword ******
                                string Username ******
                        }
                        declare ClientOption
                        {
                                string AccountName to
                                uint AdditionalConnectionInterval 1
                                uint ConnectionDisconnectSpan 0
                                string DeviceName VPN_NIC
                                bool DisableQoS false
                                bool HalfConnection false
                                bool HideNicInfoWindow false
                                bool HideStatusWindow false
                                string Hostname ******.vpnazure.net
                                string HubName VPN
                                uint MaxConnection 1
                                bool NoRoutingTracking true
                                bool NoTls1 false
                                bool NoUdpAcceleration false
                                uint NumRetry 4294967295
                                uint Port 8888
                                uint PortUDP 0
                                string ProxyName $
                                byte ProxyPassword $
                                uint ProxyPort 0
                                uint ProxyType 0
                                string ProxyUsername $
                                bool RequireBridgeRoutingMode false
                                bool RequireMonitorMode false
                                uint RetryInterval 15
                                bool UseCompress false
                                bool UseEncrypt true
                        }
                }
        }
        declare ClientManagerSetting
        {
                bool EasyMode false
                bool LockMode false
        }
        declare CommonProxySetting
        {
                string ProxyHostName $
                uint ProxyPort 0
                uint ProxyType 0
                string ProxyUsername $
        }
        declare Config
        {
                bool AllowRemoteConfig true
                uint64 AutoDeleteCheckDiskFreeSpaceMin 104857600
                string KeepConnectHost keepalive.softether.org
                uint KeepConnectInterval 50
                uint KeepConnectPort 80
                uint KeepConnectProtocol 1
                bool NoChangeWcmNetworkSettingOnWindows8 false
                bool UseKeepConnect false
        }
        declare RootCA
        {
        }
        declare UnixVLan
        {
                declare VPN_NIC
                {
                        bool Enabled true
                        string MacAddress 00-AC-F2-3F-93-3C
                }
        }
}
			
													How to connect VPNAzure from a linux softether client
- 
				chengdi123000
 - Posts: 2
 - Joined: Sat Dec 05, 2015 5:17 am
 
How to connect VPNAzure from a linux softether client
					Last edited by chengdi123000 on Sun Dec 06, 2015 5:12 am, edited 1 time in total.
									
			
									
						- 
				chengdi123000
 - Posts: 2
 - Joined: Sat Dec 05, 2015 5:17 am
 
Re: How to connect VPNAzure from a linux softether client
I just found that port 443 should be set to connect to the vpn server.
However, I can only get a NIC with IPV6 address. While my server's IP in the vpn is 192.168.30.1, which I cannot connect via SSH or PING.
How can I set the IPV4 address?
ifconfig -a ######################################
...
vpn_vpn_nic2 Link encap:Ethernet HWaddr 00:ac:92:c6:cb:ce
inet6 addr: fe80::2ac:92ff:fec6:cbce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1127 errors:0 dropped:0 overruns:0 frame:0
TX packets:931 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:78272 (78.2 KB) TX bytes:77090 (77.0 KB)
			
									
									
						However, I can only get a NIC with IPV6 address. While my server's IP in the vpn is 192.168.30.1, which I cannot connect via SSH or PING.
How can I set the IPV4 address?
ifconfig -a ######################################
...
vpn_vpn_nic2 Link encap:Ethernet HWaddr 00:ac:92:c6:cb:ce
inet6 addr: fe80::2ac:92ff:fec6:cbce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1127 errors:0 dropped:0 overruns:0 frame:0
TX packets:931 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:78272 (78.2 KB) TX bytes:77090 (77.0 KB)
- 
				thisjun
 - Posts: 2458
 - Joined: Mon Feb 24, 2014 11:03 am
 
Re: How to connect VPNAzure from a linux softether client
You can configure IP address by ifconfig or using DHCP.
			
									
									
						