LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-20-2006, 07:42 AM   #1
elfy
LQ Newbie
 
Registered: Mar 2006
Location: Sevastopol, Ukraine
Distribution: CRUX/From Scratch
Posts: 12

Rep: Reputation: 0
World of Warcraft (c) behind a linux router


Hello guys!
I'm struck with a problem:
I've got a router, connected to 3 different networks:
  • The LAN of my district(say ReedLan)
  • My internal one, which is hidden by NAT with my ip
  • The pptp tunnel providing me with Internet. It is held over ReedLan(see 1)
I route the Internal-to-ReedLan traffic hidden by my ReedLan IP, and Internal-to-Intenet hidden by my ip in my provider's VPN.
If I launch WoW on my router is runs perfectly. But whenever I tried on internal network computers I got the same error: The RS(phase 1) connection is executed properly, but when it comes to the phase 2 connection to main game server I end up with a timeout caused, I decided, by the lost connection tracking.
If I put down the tunnel on my router and start the VPN session directly from internal computer(my router's managing GRE traffic and NATting it to my ReedLan ip) - it works great.
So what should I do to make linux firewall work with WoW connection tracking? Anybody has an idea?
 
Old 04-20-2006, 10:02 AM   #2
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Have you got the WoW-required ports on the router set to route to the internal machine?
 
Old 04-20-2006, 03:16 PM   #3
elfy
LQ Newbie
 
Registered: Mar 2006
Location: Sevastopol, Ukraine
Distribution: CRUX/From Scratch
Posts: 12

Original Poster
Rep: Reputation: 0
I got several internal machines using WoW simultaneusly(realy forgot the spelling of the word), so it is likely impossible to DNAT or I did miss something important?
By now I 'm SNATting. It looks like that:

Quote:
Internal IP 172.12.0.254
Internal user1 IP 172.12.0.1
Internal user2 IP 172.12.0.2
....

ReedLan IP 10.17.39.220
User's IP in VPN 172.17.2.235
what I did:
iptables -P FORWARD DROP
iptables -A FORWARD -s 172.12.0.0/24 -j ACCEPT
iptables -A FORWARD -d 172.12.0.0/24 -j ACCEPT
iptables -t nat -A POSTROUTING -s 172.12.0.0/24 -d 10.0.0.0/8 -j SNAT --to-source=10.17.39.220
iptables -t nat -A POSTROUTING -s 172.12.0.0/24 -d !10.0.0.0/8 -j SNAT --to-source=172.17.2.235

Nothin' else. Every program but WoW works correctly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sign the World of Warcraft on Linux petition! Gormless Linux - Games 46 06-30-2007 12:21 PM
World of Warcraft on linux darkervisions Linux - Games 4 12-27-2005 06:52 PM
World of Warcraft HELP yelnik Linux - Games 1 12-06-2005 06:35 PM
World of warcraft on linux mortema General 10 05-30-2005 05:55 PM
World of Warcraft Players, Show Support for Linux Port! Slayer Linux - Games 2 04-22-2005 08:04 PM


All times are GMT -5. The time now is 02:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration