From fbac282bdc7e7ad3a3234dbd82a2b41817fbdf61 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 13 Feb 2019 14:31:02 +0100 Subject: .mobileconfig: fix formatting Signed-off-by: Jason A. Donenfeld --- MOBILECONFIG.md | 90 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'MOBILECONFIG.md') diff --git a/MOBILECONFIG.md b/MOBILECONFIG.md index f40286a..e637867 100644 --- a/MOBILECONFIG.md +++ b/MOBILECONFIG.md @@ -27,7 +27,7 @@ A .mobileconfig file is a plist file in XML format. The top-level XML item is a Here's an example .mobileconfig with the above fields filled in: -~~~ +```xml @@ -48,7 +48,7 @@ Here's an example .mobileconfig with the above fields filled in: -~~~ +``` ### WireGuard payload entries @@ -93,49 +93,49 @@ keys: Here's an example WireGuard configuration payload dictionary: -~~~ - - - PayloadDisplayName - VPN - PayloadType - com.apple.vpn.managed - PayloadVersion - 1 - PayloadIdentifier - com.your-org.wireguard.demo-profile-1.demo-tunnel - PayloadUUID - 44CDFE9F-4DC7-472A-956F-61C68055117C - UserDefinedName - Demo from MobileConfig file - VPNType - VPN - VPNSubType - com.wireguard.ios - VendorConfig - - WgQuickConfig - - [Interface] - PrivateKey = mInDaw06K0NgfULRObHJjkWD3ahUC8XC1tVjIf6W+Vo= - Address = 10.10.1.0/24 - DNS = 1.1.1.1, 1.0.0.1 - - [Peer] - PublicKey = JRI8Xc0zKP9kXk8qP84NdUQA04h6DLfFbwJn4g+/PFs= - Endpoint = demo.wireguard.com:12912 - AllowedIPs = 0.0.0.0/0 - - - VPN - - RemoteAddress - demo.wireguard.com:12912 - AuthenticationMethod - Password - - -~~~ +```xml + + + PayloadDisplayName + VPN + PayloadType + com.apple.vpn.managed + PayloadVersion + 1 + PayloadIdentifier + com.your-org.wireguard.demo-profile-1.demo-tunnel + PayloadUUID + 44CDFE9F-4DC7-472A-956F-61C68055117C + UserDefinedName + Demo from MobileConfig file + VPNType + VPN + VPNSubType + com.wireguard.ios + VendorConfig + + WgQuickConfig + + [Interface] + PrivateKey = mInDaw06K0NgfULRObHJjkWD3ahUC8XC1tVjIf6W+Vo= + Address = 10.10.1.0/24 + DNS = 1.1.1.1, 1.0.0.1 + + [Peer] + PublicKey = JRI8Xc0zKP9kXk8qP84NdUQA04h6DLfFbwJn4g+/PFs= + Endpoint = demo.wireguard.com:12912 + AllowedIPs = 0.0.0.0/0 + + + VPN + + RemoteAddress + demo.wireguard.com:12912 + AuthenticationMethod + Password + + +``` ### Caveats -- cgit v1.2.3-59-g8ed1b