Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:strongswan_certificates [2019/05/12 12:30] – [/etc/strongswan.conf] marcolabreuinbox:strongswan_certificates [2019/05/12 12:40] – [Client configuration] marcolabreu
Line 248: Line 248:
  dhcp {  dhcp {
  force_server_address = yes  force_server_address = yes
-                                #use_server_port = yes +                          #use_server_port = yes 
-                                # uncomment the line above if log shows that DHCP  +                          # uncomment the line above if log shows that DHCP  
-                                # offer can't be accepted  +                          # offer can't be accepted  
  identity_lease = yes  identity_lease = yes
  server = 192.168.255.255  server = 192.168.255.255
Line 298: Line 298:
  COUNTRY="FI"  COUNTRY="FI"
  ORG="VpnTest"  ORG="VpnTest"
 +  #Change above to your org and country code
   
  VALIDDAYS="3650"  VALIDDAYS="3650"
Line 358: Line 359:
  - p12/USERID.p12  - p12/USERID.p12
  
-Where USERID is what you entered when using **mk-client.sh**+Where SRVNAME is what was used on **mk-server.sh**, "vpntest.lan" if you didn't change the script, and USERID is what you entered when running **mk-client.sh**
  
 Copy these certificates to client device somehow (mail them, scp them, etc..) and install them (as trusted). Copy these certificates to client device somehow (mail them, scp them, etc..) and install them (as trusted).
Line 364: Line 365:
  
  VPN Type: IKEv2  VPN Type: IKEv2
- Server Address: server ip/domain + Server Address: server ip address or url 
- Remote ID: server domain+ Remote ID: SRVNAME
  Local ID: USERID  Local ID: USERID
   
  • Last modified: 2020/10/05 21:16
  • by tmomas