Attributing IP address to a linux client

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
hatimux
Posts: 20
Joined: Fri May 15, 2015 10:20 am

Attributing IP address to a linux client

Post by hatimux » Mon May 18, 2015 12:59 pm

Hello,

I'm trying to connect to a SoftEther VPN server using a linux client. The connection is successfully established but I can't get an IP address for the linux client. I have tried using NatSecure with the DHCP option but it doesn't work.

I tried using a windows client and it works with no problem.

Do you have any idea why isn't it working for linux clients?

For both client and server I'm using a virtual environement.
Additionnal information about the client and server:

****************************************************************************
Client information:
Build number:
SoftEther VPN Client (Ver 4.15, Build 9546, beta)

#uname -a
Linux client1 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux

#ifconfig -a
attached file
****************************************************************************
Server Information
Build number:
SoftEther VPN Server (Ver 4.15, Build 9546, beta)

#uname -a
Linux server1 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux

#ifconfig -a
attached file
****************************************************************************
Please tell me if you need any additionnal information about my configuration.

Thank you,

Hatim

hatimux
Posts: 20
Joined: Fri May 15, 2015 10:20 am

Re: Attributing IP address to a linux client

Post by hatimux » Tue May 19, 2015 9:42 am

The problem was that the dhcp client wasn't asking for a dhcp address.
To force the client to ask for the ip address, you can modify the configuration file /etc/network/interafces and add the following lines:
auto vpn_1
interface vpn_1 inet dhcp



Note: dhcp option of the SecureNat function must be enabled

Post Reply