For complete information, i’ve also tried to let NS do the pppoe ( to have the public ip assigned directly to the NS box )
and this is the log that i recive:
Feb 3 17:26:55 rt01 pluto[13119]: | setup callback for interface tunrw:500 fd 15
Feb 3 17:26:55 rt01 pluto[13119]: loading secrets from "/etc/ipsec.secrets"
Feb 3 17:26:55 rt01 pluto[13119]: loading secrets from "/etc/ipsec.d/tunnels.secrets"
Feb 3 17:26:55 rt01 pluto[13119]: ERROR "/etc/ipsec.d/tunnels.secrets" line 12: index "%ppp0" illegal (non-DNS-name) character in name
Feb 3 17:26:55 rt01 pluto[13119]: initiating all conns with alias='demoipsec_ipsec-tunnel'
Feb 3 17:26:55 rt01 pluto[13119]: "demoipsec_ipsec-tunnel/1x1": We cannot identify ourselves with either end of this connection. 84.xx.xx.xx or 0.0.0.0 are not usable
Feb 3 17:26:59 rt01 sudo: pam_unix(sudo:session): session closed for user root
and this is the output of tunnels.secrets
[root@rt01 ~]# cat /etc/ipsec.d/tunnels.secrets
# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at NethServer official site: https://www.nethserver.org
#
#
#
# 40clients
#
%ppp0 84.xx.xx.xx : PSK "randompassword1234!"