Donc comme ceci ?
IPVPS:tcp/443,tcp/5001
Mais il n'accepte pas la modification (il agit comme si aucune modification n'a été apporté)
Quand je rouvre mon utilisateur la modification a disparu et aucune mise à jour à appliqué.
Et via ssh :
root@*******:/usr/local/openvpn_as/scripts# ./sacli --user cmathias --key "dmz_ip.0" --value "IPVPS:tcp/443,tcp/5001" UserPropPut
[True, {}]
root@*************:/usr/local/openvpn_as/scripts# ./sacli start
RunStart warm None
{
"active_profile": "Default",
"errors": {
"USERDB.cmathias.dmz_ip.0": [
[
"error",
"IPProtoPort: parse error: must be in the form IP[:proto/start_port[-end_port]]: util/cdict:354,net/ipt:487 (ValueError)"
]
],
"iptables_openvpn": [
[
"error",
"service failed to validate"
]
]
},
"last_restarted": "Thu Jul 28 09:09:15 2022",
"service_status": {
"api": "on",
"auth": "on",
"bridge": "on",
"client_query": "on",
"crl": "on",
"daemon_pre": "on",
"db_push": "on",
"ip6tables_live": "on",
"ip6tables_openvpn": "on",
"iptables_live": "on",
"iptables_openvpn": "on",
"iptables_web": "on",
"log": "on",
"openvpn_0": "on",
"subscription": "on",
"user": "on",
"web": "on"
}
}
WILL_RESTART []
ERROR: restart failed (ERRBACK)