Some iptables
4303
$$
- Posted:
- Proposals: 1
- Remote
- #151617
- Archived
Description
Experience Level: Intermediate
I have some iptables partially working but would like 1. some review, 2. some fixing, and 3. some explanation.
I have two servers, a php/apache and a mysql. They are connected over a VLAN.
The mysql server is locked down to ssh and mysql from the php/apache: that works OK (although apt-get update won't work when I next try it).
The php/apache server has some iptables rules that:
- DROP everything
- allow http, https, ssh
- allow mysql to and from the mysql server
So the basic site works OK.
It stops working when I want to:
- send email
- do DNS lookups
- do curl type stuff from php
- do apt-get update
So, could you look at the rules I've got, review them, add to them, explain what you've done and why it works?
If you're up for it I'll send over the shell script I've got so far, plus some other details you'll need.
Thanks
I have two servers, a php/apache and a mysql. They are connected over a VLAN.
The mysql server is locked down to ssh and mysql from the php/apache: that works OK (although apt-get update won't work when I next try it).
The php/apache server has some iptables rules that:
- DROP everything
- allow http, https, ssh
- allow mysql to and from the mysql server
So the basic site works OK.
It stops working when I want to:
- send email
- do DNS lookups
- do curl type stuff from php
- do apt-get update
So, could you look at the rules I've got, review them, add to them, explain what you've done and why it works?
If you're up for it I'll send over the shell script I've got so far, plus some other details you'll need.
Thanks
Matt P.
100% (53)Projects Completed
54
Freelancers worked with
13
Projects awarded
86%
Last project
22 Mar 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies