problem with ssh connetions in jail
espartano.list at gmail.com
Tue Oct 4 16:11:05 PDT 2005
hi people first sorry for my english.
i have a pc with only one etternet card connected to a router
(172.16.0.1) which provide both internet connection and dhcp service,
in this machine i have configured a jail virtual server, the ip of the
real server is 172.16.1.36/16 and i have made a ip alias for the jail
virtual server which is 172.16.1.100/32, i want that the virtual
server respond all incoming connections from internet, i have
configured natd with next option in /etc/rc.natd:
redirect_port tcp 172.16.1.100:22 22
add divert natd all from any to any via rl0
natd_flags="-l -f /etc/rc.natd"
in the sshd of jail:
my firewall is IPFW2, the configuration works well however often the
conections is reset, i don't know what happen
a scheme of my lan:
real ip 172.16.1.36/16
INTERNET----------modem/router------------------------- PC with run jail
alias ip 172.16.1.100/32
any help is thank in avantage.
More information about the freebsd-questions