I've run into a strange issue attempting to deploy FreeBSD production servers for the first time. I've deployed 3 servers (2 web and 1 dbase) running FreeBSD 13.3 on OMC/Kamatera. When I boot the servers I can connect fine using ssh or curl (plain http to the web server home page). However, after not connecting for some time (30 minutes or so) I'm not able to connect again to the servers. Both ssh and curl time out using any variety of clients or networks.
When this happens I can still access the server via the remote console on the Kamatera cloud platform and the way to restore connectivity is simply to do
While I am unable to log in from the outside world I don't see any output from
Output of
My etc.conf file:
Any help is much appreciated!
When this happens I can still access the server via the remote console on the Kamatera cloud platform and the way to restore connectivity is simply to do
ping google.com
on the server. After the first couple of pings I can connect fine from the outside world using ssh or curl.While I am unable to log in from the outside world I don't see any output from
tcpdump -i vmx0
. Disabling the firewall (IPFW) or flushing the rules does not appear to change anything.Output of
ifconfig vmx0
:
Code:
vmx0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4e403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
ether 00:50:56:1c:6f:5b
inet 103.98.214.13 netmask 0xffffff00 broadcast 103.98.214.255
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
My etc.conf file:
Code:
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
ifconfig_vmx0="inet 103.98.214.13 netmask 255.255.255.0"
ifconfig_vmx1_alias0="inet 172.16.0.4 netmask 255.255.255.0"
# Enable firewall.
firewall_enable="YES"
firewall_quiet="YES"
firewall_logdeny="YES"
firewall_script="/etc/ipfw.rules"
# Enable Apache web server.
apache24_enable="yes"
hostname="web24_coolcalc_com"
#fstabcheckdisks_enable="YES"
#hwaddress ether 00:50:56:1c:6f:5b
defaultrouter="103.98.214.254"
#ifconfig_vmx1_alias0="inet 172.16.0.4 netmask 255.255.255.0"
#hwaddress ether 00:50:56:3a:d9:d1
Any help is much appreciated!