Hello all,
My current pf.conf is as described bellow:
I addition to the rule above, my home router redirect port 22 to 192.168.0.xxx
This work fine to ssh to my FREEBSD_HOST main server. In order to access my jails i normally do
What I would like to achive now is the ability to ssh to each jails without to go through the FREEBSD_HOST.
I have only 1 external static IP and not sure how to achieve that. Do I have to set a different ssh port for each jail?
Thank you
My current pf.conf is as described bellow:
Code:
ext_if="bge0"
IP_FREEBSD_HOST="192.168.0.xxx"
IP_WEB="192.168.0.xxx"
PORT_SSH="{22}"
pass in quick proto tcp from any to $IP_FREEBSD_HOST port $PORT_SSH
This work fine to ssh to my FREEBSD_HOST main server. In order to access my jails i normally do
jexec 1 tcsh
, jexec 2 tcsh
ect..What I would like to achive now is the ability to ssh to each jails without to go through the FREEBSD_HOST.
I have only 1 external static IP and not sure how to achieve that. Do I have to set a different ssh port for each jail?
Thank you