风 gowinder
2016-11-24 08:18:10 UTC
my purpose is like this: when some client connected to the strong swan vpn, and he used browser to visit some website, i want record the destination ip address ( like google ip) to log file or database.
I read the source code for days and didn’t find where to add the code
And I set the log level to 4 and watch the log, the log didn’t show the true destination ip the client want to reach, just show the client ip and strong swan ip and the client virtual ip.
Is there some config parameter to let the log show client original destination ip, or some where to let me add code the show that ?
I read the source code for days and didn’t find where to add the code
And I set the log level to 4 and watch the log, the log didn’t show the true destination ip the client want to reach, just show the client ip and strong swan ip and the client virtual ip.
Is there some config parameter to let the log show client original destination ip, or some where to let me add code the show that ?