natt
06-30-2009, 03:14 PM
Hello,
I have a dd-wrt based router and I'm using iptables to mirror EQ traffic to my SEQ box. It IS working, so maybe I should leave it at that -- but it seems like there must be a more efficient way of doing it.
# 192.168.1.103 is SEQ box
# works, but EVERYTHING on the network gets mirrored to my SEQ box-- overkill
iptables -A PREROUTING -t mangle -j ROUTE --gw 192.168.1.103 --tee
iptables -A POSTROUTING -t mangle -j ROUTE --gw 192.168.1.103 --teeIt seems like I should be able to just route the traffic bound for my EQ box. But when I try this:
# this almost works, but not quite (.101 is EQ box)
iptables -A PREROUTING -t mangle -d 192.168.1.101 -j ROUTE --gw 192.168.1.103 --tee
iptables -A POSTROUTING -t mangle -d 192.168.1.101 -j ROUTE --gw 192.168.1.103 --tee ...the zone loads, mobs load and con correctly but my player never shows up. Is there some UDP traffic that's not mirrored in method #2 maybe? any thoughts on how I might match it?
Thanks in advance,
-Natt
I have a dd-wrt based router and I'm using iptables to mirror EQ traffic to my SEQ box. It IS working, so maybe I should leave it at that -- but it seems like there must be a more efficient way of doing it.
# 192.168.1.103 is SEQ box
# works, but EVERYTHING on the network gets mirrored to my SEQ box-- overkill
iptables -A PREROUTING -t mangle -j ROUTE --gw 192.168.1.103 --tee
iptables -A POSTROUTING -t mangle -j ROUTE --gw 192.168.1.103 --teeIt seems like I should be able to just route the traffic bound for my EQ box. But when I try this:
# this almost works, but not quite (.101 is EQ box)
iptables -A PREROUTING -t mangle -d 192.168.1.101 -j ROUTE --gw 192.168.1.103 --tee
iptables -A POSTROUTING -t mangle -d 192.168.1.101 -j ROUTE --gw 192.168.1.103 --tee ...the zone loads, mobs load and con correctly but my player never shows up. Is there some UDP traffic that's not mirrored in method #2 maybe? any thoughts on how I might match it?
Thanks in advance,
-Natt