Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
17.1.8 - Not able to start tinc
« previous
next »
Print
Pages: [
1
]
Author
Topic: 17.1.8 - Not able to start tinc (Read 5206 times)
mike99
Newbie
Posts: 3
Karma: 0
17.1.8 - Not able to start tinc
«
on:
July 03, 2017, 09:03:51 pm »
I followed this guide and tinc won't start:
https://forum.opnsense.org/index.php?topic=4242.msg17568#msg17568
My config
Name = mynetworkname
Network = 172.31.0.1/20
PingTimeout = 5 (Default)
Cipher = aes-256-cbx (default)
Debug = 2
Hostname = mynetworkname_mylocation
Ext. Address = a.b.c.78 (my WAN IP address)
Ext. Port = 655 (default)
Subnet = 172.31.0.0/24
Private key = gen
Public key = gen
When I go to dashboard and try to enable tinc, it just won't start. I don't see it ether via cli (ps aux).
Log is no help. No info unless I set it to max and nothing understandable, most shown is hexa.
When I try to start it via CLI:
root@OPNSenseVPN:~ # service tincd onestart
Starting tincd
Cannot open config file /usr/local/etc/tinc/tinc.conf: No such file or directory
Failed to read `/usr/local/etc/tinc/tinc.conf': No such file or directory
Can't find the config with find:
root@OPNSenseVPN:~ # find / -name "tinc*"
/usr/local/man/man8/tincd.8.gz
/usr/local/man/man5/tinc.conf.5.gz
/usr/local/info/tinc.info
/usr/local/opnsense/scripts/OPNsense/Tinc/tincd.py
/usr/local/opnsense/service/templates/OPNsense/Tinc/tinc_deploy.xml
/usr/local/opnsense/version/tinc
/usr/local/etc/rc.d/tincd
/usr/local/etc/inc/plugins.inc.d/tinc.inc
/usr/local/etc/tinc_deploy.xml
/usr/local/share/licenses/tinc-1.0.31
/usr/local/sbin/tincd
/var/log/tinc.log
/tmp/tinc_current_cipher_options.index
Not sure whe're it's wrong. I would like to compare the config file with tinc doc but since I can't find the config file. On which name the config should be generated ?
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: 17.1.8 - Not able to start tinc
«
Reply #1 on:
July 04, 2017, 07:16:25 am »
Can you post screenshots of network and hosts? I'll try to reproduce it.
My test setup is running fine with 17.1.8
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 17.1.8 - Not able to start tinc
«
Reply #2 on:
July 04, 2017, 04:23:07 pm »
It doesn't create the config files. Try:
# configctl template reload OPNsense/Tinc
And check for errors in the system log:
# clog /var/log/system.log
Logged
mike99
Newbie
Posts: 3
Karma: 0
Re: 17.1.8 - Not able to start tinc
«
Reply #3 on:
July 07, 2017, 04:41:02 pm »
Thank for your answer. We where able to make it work but choose OpenVPN instead. It was finally more appropriate for our need.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
17.1.8 - Not able to start tinc