If got a problem on sending forms within webmin when
it's behind a firewall.
i'm running webmin on https port 10000 and I created
the following ipchains rules for it to restrict access
remotely.
# Deny all connections
/sbin/ipchains -A input -i eth0 -s $CLIENTIP
1024:65535 -d ! $SERVERIP 10000 -p TCP -j ACCEPT
/sbin/ipchains -A output -i eth0 -s ! $SERVERIP 10000 -
d $CLIENTIP 1024:65535 ! -Y -p TCP -j ACCEPT
# Open restricted connections to $CLIENTIP
/sbin/ipchains -A input -i eth0 -s $CLIENTIP
1024:65535 -d $SERVERIP 10000 -p TCP -j ACCEPT
/sbin/ipchains -A output -i eth0 -s $SERVERIP 10000 -d
$CLIENTIP 1024:65535 ! -Y -p TCP -j ACCEPT
What happens is, when I want to add a webmin user, it
goes to the page, let me create a user and let me send
te form, only the return page never arrives and the
socket on the client side stays open awaiting a
response which never comes.
When i stop it loading and go back the script has been
working, because the user is added. Next to that, when
I disable the firewall, the whole procedure works well.
So I dunno what's the problem, but if anyone can help
me out... tnx in advance :)
Maurice
Logged In: NO
-1- idea add log for ipchain
and look log if you are sur that comme from firewall