Temat: L2TP/IPsec server na debianie
Witajcie,
Udało się może komuś postawić server L2TP/IPsec na debianie 8 bo od rana próbuę odpalić serwer L2TP/IPsec aby mieć dostęp do routera LTE ale mi się to nie udaje z żadnym poradnikiem macie może jakieś sprawdzone poradniki jak odaplić server L2TP/IPsec.
Np ten https://imdjh.github.io/sysadmin/2015/0 … heezy.html
i mam taki błąd :
root@manguscik:~# /etc/init.d/ipsec start
[ ok ] Starting ipsec (via systemctl): ipsec.service.
root@manguscik:~# /etc/init.d/ipsec status
● strongswan.service - strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
Loaded: loaded (/lib/systemd/system/strongswan.service; enabled)
Active: failed (Result: exit-code) since pią 2019-01-25 20:22:26 CET; 5s ago
Process: 2774 ExecStart=/usr/sbin/ipsec start --nofork (code=exited, status=2)
Main PID: 2774 (code=exited, status=2)
sty 25 20:22:26 manguscik ipsec[2774]: Starting strongSwan 5.2.1 IPsec [starter]...
sty 25 20:22:26 manguscik ipsec_starter[2774]: Starting strongSwan 5.2.1 IPsec [starter]...
sty 25 20:22:26 manguscik ipsec[2774]: removing pidfile '/var/run/charon.pid', process not running
sty 25 20:22:26 manguscik ipsec_starter[2774]: removing pidfile '/var/run/charon.pid', process not running
sty 25 20:22:26 manguscik ipsec[2774]: /etc/ipsec.conf:2: syntax error, unexpected STRING [nat_traversal]
sty 25 20:22:26 manguscik ipsec_starter[2774]: /etc/ipsec.conf:2: syntax error, unexpected STRING [nat_traversal]
sty 25 20:22:26 manguscik ipsec[2774]: invalid config file '/etc/ipsec.conf'
sty 25 20:22:26 manguscik ipsec[2774]: unable to start strongSwan -- fatal errors in config
sty 25 20:22:26 manguscik systemd[1]: strongswan.service: main process exited, code=exited, status=2/INVALIDARGUMENT
sty 25 20:22:26 manguscik systemd[1]: Unit strongswan.service entered failed state.
root@manguscik:~#Jan 25 20:25:01 manguscik CRON[2834]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 25 20:25:01 manguscik CRON[2833]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 25 20:25:01 manguscik CRON[2833]: pam_unix(cron:session): session closed for user root
Jan 25 20:25:01 manguscik CRON[2834]: pam_unix(cron:session): session closed for user root
Jan 25 20:25:48 manguscik ipsec_starter[2889]: Starting strongSwan 5.2.1 IPsec [starter]...
Jan 25 20:25:48 manguscik ipsec_starter[2889]: /etc/ipsec.conf:2: syntax error, unexpected STRING [nat_traversal]
Jan 25 20:25:48 manguscik ipsec_starter[2889]: invalid config file '/etc/ipsec.conf'
Jan 25 20:25:48 manguscik ipsec_starter[2889]: unable to start strongSwan -- fatal errors in config