Hi --
I do have a couple of service jails with rfc1918 addresses (e.g. 10.0.0.1) running on a host with a static IP (e.g. 1.2.3.4). Everything is working as expected.
Current setup is as follows:
Recently I was trying to add IPv6 addresses (e.g. a:b:c:d::1) like:
I didn't use NAT for IPv6 because I believe that isn't supported, yet. That's the reason why I used the static IPv6 address in my jail. That works as well.
I do have to admit that I am not an expert when it comes to security, thus, I do not know, if binding that externally known IPv6 address a:b:c:d::1 to my jail has to be considered a security risk. Thus I tried to use link local rfc3879 addresses (e.g. feef::1) bound to the local interface (lo0), and modified my setup as follows:
This works regarding IPv4 address space, but fails with IPv6, presumely because I didn't have NAT between feef::1 and a:b:c:d::1.
Before investigating that further, I would like to know if using IP addresses bound to an external interface (IfExternal) in a jail has to be considered a security risk at all? I am absolutely uncertain and would like to gain input from you experts.
Thanks.
I do have a couple of service jails with rfc1918 addresses (e.g. 10.0.0.1) running on a host with a static IP (e.g. 1.2.3.4). Everything is working as expected.
Current setup is as follows:
Code:
IfExternal/1.2.3.4,10.0.0.1 (host) <-- rdr+nat --> IfExternal/10.0.0.1 (jail)
Code:
IfExternal/1.2.3.4,a:b:c:d::1,10.0.0.1 (host) <-- rdr(+nat) --> IfExternal/a:b:c:d::1,10.0.0.1 (jail)
I do have to admit that I am not an expert when it comes to security, thus, I do not know, if binding that externally known IPv6 address a:b:c:d::1 to my jail has to be considered a security risk. Thus I tried to use link local rfc3879 addresses (e.g. feef::1) bound to the local interface (lo0), and modified my setup as follows:
Code:
IfExternal/1.2.3.4,a:b:c:d::1,10.0.0.1 (host) <-- rdr(+nat) --> IfLocal/feef::1,10.0.0.1
Before investigating that further, I would like to know if using IP addresses bound to an external interface (IfExternal) in a jail has to be considered a security risk at all? I am absolutely uncertain and would like to gain input from you experts.
Thanks.