vpncfg { connections { enabled = yes; conn_type = conntype_lan; name = "feste-ip-remote"; always_renew = no; reject_not_encrypted = no; dont_filter_netbios = yes; localip = 0.0.0.0; local_virtualip = 0.0.0.0; remoteip = feste-ip-remote; remote_virtualip = 0.0.0.0; localid { ipaddr = feste-ip-lokal; } remoteid { ipaddr = feste-ip-remote; } mode = phase1_mode_aggressive; phase1ss = "all/all/all"; keytype = connkeytype_pre_shared; key = "irgendein-psk-key"; cert_do_server_auth = no; use_nat_t = no; use_xauth = no; use_cfgmode = no; phase2localid { ipnet { ipaddr = ip-netz-lokal; mask = ip-netzmaske-lokal; } } phase2ss = "esp-all-all/ah-none/comp-all/pfs"; accesslist = "permit ip any ip-netz-remote ip-netzmaske-remote"; } 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"; }