Answer the question
In order to leave comments, you need to log in
Is it possible to let php scripts through the firewall?
Freebsd 8.2 We protect
the server from DDoS by proxying, traffic filtering. Three rules have been added to ipfw: everything from us to us is allowed, everything from proxy ip to us is allowed, everything else is prohibited.
Of course, all the scripts that are somehow connected with the network stopped working: checking the exchange rate, sending SMS, and so on.
Is it possible to "give the go-ahead" to php scripts in this case?
Answer the question
In order to leave comments, you need to log in
how can I find the provider's sms server, the server in the exchange rate and manually write it in acl?
Allow all open outgoing connections in the firewall.
Linux has it, but I worked with ipfw about 4 years ago, but I remember that it also happened.
like this:
xxx0/24 - proxy IPs
ipfw add 9 allow tcp from me to me
ipfw add 10 allow tcp from x.x.x.0/24 to me
ipfw add 12 allow udp from me to any 53 keep-state #allow DNS
ipfw add 13 allow tcp from me to any keep-state
ipfw add 14 allow udp from me to any keep-state
ipfw add 100 deny all from any to me
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question