nemious
01-11-2006, 02:42 AM
Here is How I pakcet collect.
Requiorments
one pc with linux
one pc with windows
router
Ethereal or the one that is used here it dose not matter
First thing first we are going to set up out linux box to be a router.
Here is how you do this
go to your terminal aka kernal type in
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
once your done with this start your windows box. Go to Network Connections and change your ip to the linux boxs ip.
Then when your on the linux box start up eather real.
set your filter to
udp[0:2]-1200 < 500
then go play eq. The only problem that I have had with this is that it bouble nats the data packets.
Requiorments
one pc with linux
one pc with windows
router
Ethereal or the one that is used here it dose not matter
First thing first we are going to set up out linux box to be a router.
Here is how you do this
go to your terminal aka kernal type in
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
once your done with this start your windows box. Go to Network Connections and change your ip to the linux boxs ip.
Then when your on the linux box start up eather real.
set your filter to
udp[0:2]-1200 < 500
then go play eq. The only problem that I have had with this is that it bouble nats the data packets.