Guest User

[Success] for Android + StrongSwan VPN Client Local DNS

a guest
Nov 6th, 2013
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. root@OpenWrt:/etc# cat /etc/strongswan.conf
  2. # strongswan.conf - strongSwan configuration file
  3.  
  4. charon {
  5.  
  6.   dns1 = 192.168.1.1                #(OpenWrt Router's LAN IP Address)
  7.  
  8.   threads = 16
  9.  
  10.   plugins {
  11.         attr {
  12.                 dns = 192.168.1.1  # (OpenWrt Router's LAN IP Address)
  13.         }
  14.  
  15.     dhcp {
  16.         server = 192.168.1.1
  17.     }
  18.   }
  19.  
  20. }
  21.  
  22. pluto {
  23.  
  24. }
  25.  
  26. libstrongswan {
  27.  
  28.   #  set to no, the DH exponent size is optimized
  29.   #  dh_exponent_ansi_x9_42 = no
  30.         crypto_test {
  31.                        on_add = yes
  32.         }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment