Ubuntu Server 16.04 VPN connection issue - Ask Ubuntu
i'll try make brief possible while giving many details possible.
here situation, setup ipsec vpn on core router wisp log in remotely. works beautifully on windows 10 , business partners iphone , ipad.
i have a homelab setup @ house , wanted leverage vm snmp traffic monitoring wisp network of devices. step 1 linux vm, (ubuntu server 16.04 in case) connect vpn server. step 2 configuring snmp monitoring program.
doing research, located this guide on how setup strongswan client on ubuntu server. lot of other guides use openswan has been depreciated/removed server 16.04 repos.
got installed , partially working. news vpn connect successfully. bad news doesn't seem creating tunnel interface on ubuntu.
so missing here? i've been working on last month , half , out of ideas. fresh pair of eyes appreciated.
here config files client setup. sanitized:
/etc/ipsec.conf
# ipsec.conf - strongswan ipsec configuration file # basic configuration config setup # strictcrlpolicy=yes # uniqueids = no # add connections here. # sample vpn connections conn %default ikelifetime=60m keylife=20m rekeymargin=3m keyingtries=1 keyexchange=ikev1 authby=secret esp=aes128-sha1 ike=aes128-sha1-modp1024,3des-sha1-modp1024! conn amvpn keyexchange=ikev1 left=%defaultroute auto=add authby=secret type=transport leftprotoport=17/1701 rightprotoport=17/1701 # set ip address of vpn server right=ip
/etc/xl2tpd/xl2tpd.conf
[lac amvpn] ; vpn server goes here lns = ip ppp debug = yes pppoptfile = /etc/ppp/options.l2tpd.client length bit = yes
and finnally /etc/ppp/options.l2tpd.client
ipcp-accept-local ipcp-accept-remote refuse-eap require-mschap-v2 noccp noauth idle 1800 mtu 1410 mru 1410 defaultroute usepeerdns debug lock connect-delay 5000
again, let me know if have questions, comments, or suggestions. thanks!
Comments
Post a Comment