I have two jails running, one of them a webserver with access from WAN with ip 10.0.0.200/255.255.255.0 on vnet0:bridge0 and the default 127.0.0.1 lo0 interface. The other jail is running a service that has a unprotected http interface, this jail is on 10.0.0.201/255.255.255.0 on vnet0:bridge0 and the default 127.0.0.1 lo0 interface. Both jail have default router set to 10.0.0.1.
I would like to create a shared internal ip between these two jails and bind the unprotected http service to this internal ip and set up a http proxy from the webserver jail to the jail with the unprotected http service in order to get access to it from the WAN and to add https and authentication.
The freenas interface is on 10.0.0.100/255.255.255.0 on em0.
I know how to set up the proxy in the webserver, but i have no clue about ip interfaces on the system and adding them in iocage. Can someone help me with the commands needed to set up an internal ip?
I would like to create a shared internal ip between these two jails and bind the unprotected http service to this internal ip and set up a http proxy from the webserver jail to the jail with the unprotected http service in order to get access to it from the WAN and to add https and authentication.
The freenas interface is on 10.0.0.100/255.255.255.0 on em0.
I know how to set up the proxy in the webserver, but i have no clue about ip interfaces on the system and adding them in iocage. Can someone help me with the commands needed to set up an internal ip?