You are not logged in.
Pages: 1
Hello, I've been trying to setup a l2tp vpn connection for my computer, and while following the guide, I felt on a python error on line 84
link to the guide : (https://wiki.archlinux.org/index.php/Op … ient_setup)
```
$ ipsec verify
File "/usr/local/libexec/ipsec/verify", line 84
print "\t[%s%s%s]"%(FAIL,rtext,ENDC)
^
SyntaxError: invalid syntax
```
OpenSwan service is up and running, and I've checked in /etc/ipsec.conf and /etc/ipsec.d/ to check if there was anything wrong and it does not look like it,
does anyone have an idea of what I could use for a work around
If you need command output just ask!
Thanks for reading
Last edited by mathieu_auclair (2017-12-22 19:11:00)
Offline
Changed shebang for python2 since arch is under python3 by default!
sudo vim /usr/local/libexec/ipsec/verify
#!/usr/bin/python2
instead of
#!/usr/bin/python
Offline
Pages: 1