Created
May 3, 2023 19:33
-
-
Save norman-bauer/d6d79cd560adea9fcdbdc9f75f3a84ff to your computer and use it in GitHub Desktop.
Configuration file for FRITZ!Box to create a site-to-site VPN with Azure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vpncfg { | |
connections { | |
enabled = yes; | |
conn_type = conntype_lan; | |
name = "AzureToFritzBoxVPN"; | |
always_renew = no; | |
reject_not_encrypted = no; | |
dont_filter_netbios = yes; | |
localip = 0.0.0.0; | |
local_virtualip = 0.0.0.0; | |
remoteip = 52.157.103.150; | |
remote_virtualip = 0.0.0.0; | |
localid { | |
fqdn = "argq6adasd23ruo.myfritz.net"; | |
} | |
remoteid { | |
ipaddr = 52.157.103.150; | |
} | |
mode = phase1_mode_aggressive; | |
phase1ss = "all/all/all"; | |
keytype = connkeytype_pre_shared; | |
key = "6DsW9o33dcm3wQiyoT3UcUVu6MyLfV8S8f8VMAeh"; | |
cert_do_server_auth = no; | |
use_nat_t = yes; | |
use_xauth = no; | |
use_cfgmode = no; | |
phase2localid { | |
ipnet { | |
ipaddr = 10.1.1.0; | |
mask = 255.255.255.0; | |
} | |
} | |
phase2remoteid { | |
ipnet { | |
ipaddr = 10.5.0.128; | |
mask = 255.255.255.128; | |
} | |
} | |
phase2ss = "esp-all-all/ah-none/comp-all/no-pfs"; | |
accesslist = "permit ip any 10.5.0.0 255.255.255.0"; | |
} | |
ike_forward_rules = "udp 0.0.0.0:500 0.0.0.0:500", | |
"udp 0.0.0.0:4500 0.0.0.0:4500"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment