[strongSwan] swanctt + dhcp + dns

Kamil Jońca kjonca at o2.pl
Mon Dec 18 15:21:19 CET 2017


Noel Kuntze
<noel.kuntze+strongswan-users-ml-eJe4+7AOuxYyzzc7d281tti2O/JbrIOy at public.gmane.org>
writes:

> Use a pool. Look at the UsableExamples[1] page.
> You can't pass dns servers from DHCP at all. It has nothing to do with
> the configuration backend you're using.

I was not too clear probably.

I want to do with swanctl:
1. have client addres taken from dhcp
2. somehow configure dns to pass (how? )

ie. how to translate from old config:


conn xxx
        left=192.168.200.200
        leftsubnet=192.168.200.0/24
        leftid=xxx
        leftca=yyy
        leftcert=....
        rightdns=192.168.200.200
        right=%any
        compress=yes
        rightsourceip=%dhcp



KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
One can never consent to creep when one feels an impulse to soar.
		-- Helen Keller


More information about the Users mailing list