plexaFCI
Cadet
- Joined
- Jun 23, 2018
- Messages
- 5
Dear All,
This is my first post in the FreeNAS forum, I am a bit experienced Qnap and Synology user with new love to FreeNAS.
I need a little help with the problem i encounter.
I created a jail and with it an apache24 service. Everything works excellent, with one web page hosted.
But I wanted to move to virtualhosts local mode (IP based) so i created the server on IP 192.168.3.154 then
192.168.3.155, 192.168.3.156, 192.168.3.157 are the other local sites.
My problem is that I need to set IPv4aliases for the jail: 192.168.3.155, 192.168.3.156, 192.168.3.157
but I can only enter and work with one.
Please note that
in Sysctrl does not work
and
returns permission denied.
My question is: how to assign multi IP4 alias for the jail (more than one IPv4 alias)
and another question is: does someone documented (fully working) name or IP apache24 virtual host service inside FreeNAS Jail?
I'll be very thankful for the answer.
Plexa
This is my first post in the FreeNAS forum, I am a bit experienced Qnap and Synology user with new love to FreeNAS.
I need a little help with the problem i encounter.
I created a jail and with it an apache24 service. Everything works excellent, with one web page hosted.
But I wanted to move to virtualhosts local mode (IP based) so i created the server on IP 192.168.3.154 then
192.168.3.155, 192.168.3.156, 192.168.3.157 are the other local sites.
My problem is that I need to set IPv4aliases for the jail: 192.168.3.155, 192.168.3.156, 192.168.3.157
but I can only enter and work with one.
Please note that
Code:
ifconfig_vmx0_alias0="inet 192.168.3.155 netmask 255.255.252.0" ifconfig_vmx0_alias1="inet 192.168.3.156 netmask 255.255.252.0" ifconfig_vmx0_alias2="inet 192.168.3.157 netmask 255.255.252.0" ifconfig_vmx0_alias3="inet 192.168.3.158 netmask 255.255.252.0"
in Sysctrl does not work
and
ifconfig vmx0 192.168.3.158 netmask 255.255.252.0
returns permission denied.
My question is: how to assign multi IP4 alias for the jail (more than one IPv4 alias)
and another question is: does someone documented (fully working) name or IP apache24 virtual host service inside FreeNAS Jail?
I'll be very thankful for the answer.
Plexa
Last edited by a moderator: