Answer the question
In order to leave comments, you need to log in
How to properly set up a VPN in Debian\Ubuntu?
How to set up a VPN correctly? I have already tried a mountain of manuals and different servers - Debian 6\7\8, Ubuntu 10\12\14. Result one - it is not connected.
https://habrahabr.ru/post/155929/
https://raymii.org/s/tutorials/IPSEC_L2TP_vpn_with...
Logs ( cat /var/log/syslog )
Sep 8 13:03:46 example ipsec_setup: Starting Openswan IPsec U2.6.37/K2.6.32-042stab113.21...
Sep 8 13:03:46 example ipsec_setup: Using NETKEY(XFRM) stack
Sep 8 13:03:46 venet0
Sep 8 13:03:46 example ipsec_setup: ...Openswan IPsec started
Sep 8 13:03:46 example ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
Sep 8 13:03:46 example pluto: adjusting ipsec .d to /etc/ipsec.d
Sep 8 13:03:46 example ipsec__plutorun: 002 added connection description "L2TP-PSK-NAT"
Sep 8 13:03:46 example ipsec__plutorun: 002 added connection description "L2TP-PSK-noNAT"
Sep 8 13:03:46 example xl2tpd[521]: Enabling IPsec SAref processing for L2TP transport mode SAs
Sep 8 13:03:46 example xl2tpd[521]: IPsec SAref does not work with L2TP kernel mode yet, enabling forceuserspace=yes
Sep 8 13:03:46 example xl2tpd[521]: parse_config: line 9: require authentication must be 'yes' or 'no'
Sep 8 13:03:46 example xl2tpd[521]: init: Unable to load config file
Sep 8 13:03:46 example sm -mta[564]: gethostbyaddr(127.0.0.2) failed: 1
Sep 8 13:03:46 example sm-mta[566]: starting daemon (8.14.4): [email protected]:10:00
Sep 8 13:04:02 example ipsec_setup: Stopping Openswan IPsec...
Sep 8 13:04:03 example ipsec_setup: ...Openswan IPsec stopped
Sep 8 13:04:03 example ipsec_setup: Starting Openswan IPsec U2.6.37/K2 .6.32-042stab113.21...
Sep 8 13:04:03 example ipsec_setup: Using NETKEY(XFRM) stack
Sep 8
13:04:03 :03 example ipsec_setup: ...Openswan IPsec started
Sep 8 13:04:03 example ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
Sep 8 13:04:03 example pluto: adjusting ipsec.d to /etc/ ipsec.d
Sep 8 13:04:03 example ipsec__plutorun: 002 added connection description "L2TP-PSK-NAT"
Sep 8 13:04:03 example ipsec__plutorun: 002 added connection description "L2TP-PSK-noNAT" The hoster of the
virtual machine says that they do not block anything. I tried to scan ports - only 22 is available. How can I find out who is to blame?
1. Provider
2. Hoster
3. Crooked hands
4. IPTables
Answer the question
In order to leave comments, you need to log in
Sep 8 13:03:46 example xl2tpd[521]: parse_config: line 9: require authentication must be 'yes' or 'no'
Sep 8 13:03:46 example xl2tpd[521]: init: Unable to load config file
In addition, they would install openvpn, all problems are solved at once. Well, for poppy there is an excellent client - https://tunnelblick.net
For windows, openvpn clients are also like dirt.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question