How to setup firewall FreeBSD?

05/18/2014 19:52 QualityHost#1
Hy ! My server is until FLOODing by someone.
Him is attacking port 3306 [ i tried to change it but site can't connect with new port and i added IP:newport].
I have ipfw.rules but can't stop it.
Any idea?
05/18/2014 20:17 ¢ýL#2
well 3306 is your MySQL Port, you can change that one...
05/18/2014 21:20 .PrimeStar ##3
You can block port 3306 (mysql) for everyone, except your Homepage and your Pc/Ip.
05/18/2014 21:39 QualityHost#4
I tried to allow IPFW only for my IP and host IP but can't connect website with port of ping [Only registered and activated users can see links. Click Here To Register...] [my website]
Any ideas?
05/18/2014 23:14 .PrimeStar ##5
Don't know... Better ask in a FreeBsd forum. They know more about freebsd firewalls.
05/20/2014 00:51 Sir-Kolonial#6
Set a second IP for your mysql port and block this port for any user let the homepage coneckt to 3306 on the new ip and your problems its going away !!!!!
05/20/2014 05:58 callmax#7
set up a packetfilter, which block every port which shouldn't be opend, like mysql, p2p and database port's. also set up rules for filtering incoming traffic and attacks like this nooblike flood will be blocked automatically
05/20/2014 19:40 QualityHost#8
can you give me a packetfilter config? I am noob :(