[strongSwan] How to get the road warrior's virtual address, DNS server address, and DHCP server address together in strongswan-5.0.0?

Mao, Zhiheng zmao at qualcomm.com
Wed Aug 8 18:34:09 CEST 2012


Thanks, Andreas! That works.
Regards,

Zhiheng

-----Original Message-----
From: Andreas Steffen [mailto:andreas.steffen at strongswan.org] 
Sent: Monday, August 06, 2012 12:28 AM
To: Mao, Zhiheng
Cc: users at lists.strongswan.org
Subject: Re: [strongSwan] How to get the road warrior's virtual address, DNS server address, and DHCP server address together in strongswan-5.0.0?

Hi Zhiheng,

the DNS and DHCP parameters are configured in strongswan.conf.
Refer to the following link for details:

http://wiki.strongswan.org/projects/strongswan/wiki/AttrPlugin

Regards

Andreas

On 05.08.2012 19:16, Mao, Zhiheng wrote:
> Hi there,
> 
> I am looking for a way for the gateway Moon to reply to the road warrior Carol during the remote access setup with its virtual IP address, DNS server address, and DHCP server address together. These addresses are all statically assigned by the gateway. I have got the virtual IP address part working, and now I need to expand to include the DNS and DHCP addresses, so I am wondering:
> 
> --1: How can I setup the ipsec.conf for both Moon and Carol to do all three addresses at once?
> --2: Any other configuration files I need to modify?
> --3: How do I verify that Carol has got the DNS server address? Carol is running on a Red Hat 5 Linux machine. Should I check the /etc/resolv.conf to see if the new DNS address has been added there?
> --4: How do I verify that Carol has got the DHCP server address? Carol is running on a Red Hat 5 Linux machine. Where does Carol save the new DHCP address?
> --5: Questions 1-4 above are all related to IPv4. What are the corresponding steps for IPv6?
> 
> Thanks a lot!
> 
> Regards,
> Zhiheng

======================================================================
Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Linux VPN Solution!                www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==





More information about the Users mailing list