Hi, this is my first post.
I have been playing around with Fake AP + DNSSpoofing trying to learn how it works. But i'm having a problem.
I start the Fake AP, unencrypted and started dhcpd3 server.
I restarted my box and noticed Apache2 wasn't running.
I have a new 12.10 install with Apache2/PHP/MySql. I have not touched apache2.conf. I redirect /var/www using the following command, and restarted apache (sudo service apache2 restart)
sudo mv /var/www /var/www-backup
sudo ln -s ~/www /var/www
However, it is still referencing the old "It Works!" file from the renamed directory. When I try to access a page in ~/www structure, I get a 403.
I now played around with iptables (the whole day) to make my rules work, but there is one issue.. all traffic that I redirect goes through my server and back through my server. We are talking about high HIGH amounth of bandwidth.
I'm getting the following error message while starting apache2 server:
$ sudo /etc/init.d/apache2 start * Starting
web server apache2
(98)Address already in use: make_sock: could not bind to address
0.0.0.0:443 no listening sockets available, shutting down Unable to open logs Action 'start' failed.
I have the same problem.
I have a kippo honeypot setup on our local network, and our DMZ uses:
sysctl net.ipv4.ip_forward=1
ldconfig
iptables -t nat -A PREROUTING -p tcp -s $ATTACKER_IP --dport 22 -j DNAT --to-destination 192.168.1.200:2222
iptables -t nat -A POSTROUTING -j MASQUERADE
There is also a port forward on the router so port 2222 can be hit from outside the network.
Dear All
Now I am running redirect by following
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
iptables -t nat -A POSTROUTING -s 192.168.100.0/255.255.255.0 -o eth1 -j MASQUERADE
I want to skip one of ip address for redirect.
Example: 192.168.100.100 want to use NAT only.
Can you advice me sir?
Thanks
Apache is already set up as a service, since:
$ sudo update-rc.d apache2 defaults
System start/stop links for /etc/init.d/apache2 already exist.
But Apache isn't starting. How can I start debugging what is going wrong?
I'm running Linux Mint, so a Debian flavour.