Honeypots mailing list archives
solves: honeyd on DSL
From: Andreas Rittershofer <andreas () rittershofer de>
Date: Thu, 12 May 2005 22:34:26 +0200
I finally solved the problem to connect honeyd diretly to ppp0 on a DSL; my start script is as follows: #!/bin/bash echo 1 > /proc/sys/net/ipv4/ip_forward route -n add -net 192.168.1.0/24 lo /etc/init.d/shorewall stop iptables -F INPUT iptables -F OUTPUT iptables -F FORWARD iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -t nat -F iptables -t nat -A PREROUTING -i ppp0 -j DNAT --to-destination \ 192.168.1.1 iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE iptables -t nat -A POSTROUTING -s 192.168.1.1 -o ppp0 -j MASQUERADE honeyd -d -f home_honeyd.conf -u 0 -g 0 -i lo --webserver-port 8888 \ -l /var/log/honeypot/daemon.log --rrdtool-path /usr/bin/rrdtool \ --fix-webserver-permissions 192.168.1.1 mfg ar -- E-Learning in der Schule: http://www.dbg-metzingen.de/Menschen/Lehrer/Q-T/Rittershofer/E-Learning/
Current thread:
- solves: honeyd on DSL Andreas Rittershofer (May 12)