Hi,
I did upgrade from FreeBSD 8.2 to FreeBSD 9.0. All went fine, except I am having issues with
Everything was working without problems before the upgrade.
Now when I am connect to jail's sshd I get timeout; if I change the rdr-port in /etc/pf.conf to something else, lets say port 1234 I can reach the jail's sshd without any problems.
My host is running also sshd in port 22 and so are jails.
Host is listening to it's own external ip-address xx.120.81.83 and other jails is listening address xx.120.81.4.
I have this rule for RDR in pf.conf
This has been working last two years without any problems, I am kinda clueless what could cause this problem.
I have been trying to look with tcpdump(8), this is the output
All ideas are most welcome, I have been trying to fix this issue for sometime now.
Best Regards
folivora
I did upgrade from FreeBSD 8.2 to FreeBSD 9.0. All went fine, except I am having issues with
# ifconfig alias
. I have one NIC from external connections, this NIC has host's main ip-address and two aliases for jails.
Code:
ifconfig_re0="inet xx.120.81.83 netmask 255.255.255.0"
ifconfig_re0_alias0="inet xx.120.81.4 netmask 255.255.255.0"
ifconfig_re0_alias1="inet xx.120.81.92 netmask 255.255.255.0"
Everything was working without problems before the upgrade.
Now when I am connect to jail's sshd I get timeout; if I change the rdr-port in /etc/pf.conf to something else, lets say port 1234 I can reach the jail's sshd without any problems.
My host is running also sshd in port 22 and so are jails.
Host is listening to it's own external ip-address xx.120.81.83 and other jails is listening address xx.120.81.4.
I have this rule for RDR in pf.conf
Code:
ext_if="re0
ext_if3="xx.120.81.4"
jail_1="xx.120.81.4"
rdr pass on $ext_if proto tcp from any to $ext_if3 port 22 -> $jail_1 port 22
This has been working last two years without any problems, I am kinda clueless what could cause this problem.
I have been trying to look with tcpdump(8), this is the output
Code:
IP ab11160.xx.xx.49436 > xx.120.81.4.ssh: Flags [S], seq 1617453496, win 14600, options [mss 1460,sackOK,TS val 603230 ecr 0,nop,wscale 7], length 0
IP ab11160.xx.xx.49436 > xx.120.81.4.ssh: Flags [S], seq 1617453496, win 14600, options [mss 1460,sackOK,TS val 604432 ecr 0,nop,wscale 7], length 0
All ideas are most welcome, I have been trying to fix this issue for sometime now.
Best Regards
folivora