[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
Sun Aug 5 19:16:10 CEST 2012


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


More information about the Users mailing list