View Single Post
  #5  
Old 06-07-2002, 01:05 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

If im right, this might not be possible, but by some chance it might be because i havent loked into it. Use iptables on your eqemu machine to mangle packets with the DNAT option and redirect it to their port. SOmething like

iptables -t nat -A PREROUTING -p tcp --sport 9000 --dport 2326 -j DNAT --to-destination 10.10.10.10:2327

im not sure what the mysql port is so i just faked it and used 2326, that should be replaced with the mysql port.

Basically all packets coming from port 9000 and trying to goto the mysql port on their computer will get re-written beore they leave your machine to go to your hosts computer on the new port.

That line probably wont work, but i think it illustrates the comcept.
Reply With Quote