Wednesday, March 05, 2025

Re: iked: What does it mean? "group writable or world read/writable"

> Hello can somebody help please? Server with out fqdn.
>
> iked.conf:
> ikev2 'local.pub' passive esp \
> from 10.0.1.0/24 to 10.0.2.0/24 \
> local 104.167.242.198 peer 24.80.177.18 \
> srcid 104.167.242.198
> ikev2 'local.pub' passive esp \
> from any to dynamic \
> local 104.167.242.198 peer any \
> srcid 104.167.242.198 \
> config address 10.0.5.0/24 \
> tag "ROADW"
>
> # iked -dv
> iked: /etc/iked.conf: group writable or world read/writable
> control exiting, pid 60699
> ca exiting, pid 1456
> ikev2 exiting, pid 78096
>
> # ls -la /etc/iked.conf
> -rw-r--r-- 1 root wheel 1551 Mar 4 19:26 /etc/iked.conf
>
> I am building a VPN Sever with: iked, wireguard and OpenVPN, thanks.
>
> Wireguard: wg0.conf
> [Interface]
> PrivateKey = server_key=
> ListenPort = 51820
>
> # client Debian
> [Peer]
> PublicKey = pub_key client=
> AllowedIPs = 10.0.0.2/32
>
> # client OpenBSD
> [Peer]
> PublicKey = pub_key client=
> AllowedIPs = 10.0.0.3/32
>
> # client Slackware 15
> [Peer]
> PublicKey = pub_key client=
> AllowedIPs = 10.0.0.4/32
>
> Thanks for your attention.
>

Thank you ALL, both are working perfectly; next step: configuring peers,
Debian and Slackware! OBSD to OBSD works without a problem.

No comments:

Post a Comment