SOLVED Changing the default interface

kcallis

Member
Joined
Oct 23, 2007
Messages
180
Reaction score
8
I am running Incredible PBX CentOS 6.9 on a Open VZ host on HIFormance or at least I am trying to run Incredible PBX. I have been trying to get knockd working, but every time I try to active knockd, it fails because it can't access the interface (eth0). My virtual interface is venet0:0 and although IncredPBX seems to find the interface, CentOS defaults to eth0.

Is there some way to get systemd-networkd to default to the venet0.0 interface as opposed to the eth0 interface?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
@kcallis: The config file to modify is /etc/sysconfig/knockd and the syntax: OPTIONS="-i venet0:0". Then restart: service knockd restart.
 

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,199
Latest member
leocipriano
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top