This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DirectX

I am trying to run DirectX games (Both server and client)  but cannot seem to get the port forwarding correct.  I've tried DNAT and SNAT as well as packet filtering.  Has anyone had any success with this?


This thread was automatically locked due to age.
Parents Reply Children
  • DNAT + Rule only to one internal host ?
    Because you posted something with eth0_network ! 

    Hm, it worked fine here earlier but i dont play that much games at the moment...if i find time i can try again.

    B
  • I got it working the trick was my rules.

    Any { DirectX8 } WAN_Connection_Interface__ Allow 
    Mithrandir { DirectX8 } Any Allow 

    DirectX_1   All -> WAN_Connection_Interface__ / DirectX7tcp47624   None   Mithrandir 
     DirectX_2   All -> WAN_Connection_Interface__ / DirectX8udp6073   None   Mithrandir 
     DirectX_3   All -> WAN_Connection_Interface__ / DirectX_2300-2400   None   Mithrandir 

    DirectX7tcp47624 tcp 1024:65535 47624 
    DirectX8udp6073 udp 1024:65535 6073 
    DirectX_2300-2400 tcp/udp 1024:65535 2300:2400
  • Hi there.

    Funny you should post this today becuase I have just been giving the All Seeing Eye guys some stick on their forum claiming that there program uses more ports than they state in their FAQ. After seeing this I think it's DX9 that is the guilty party. No wonder I can't get games to work [:(]

    I'm new to all this and fairly chuffed I've actually managed to get ASL up and running, although it's taken a while. 

    The one thing I am still having problems with is online gaming though. Unless I make a general PF rule opening all ports I can't get any games to run, so if you can spare the time I'd be extremely grateful if you could explain in laymans terms what I need to do next.

    So far I have the following setup (ASE is games server software btw):

    NAT rule:
    Green_Network__ -> All / All   MASQ__Red   None 

    Services:
    ASE:        tcp/udp 27243:27245 27243:27245
    TFC:              udp 27000:27100 27000:27100
    BF1942:        udp 14550:14570 14550:14570

    I then joined them together in a group called {Games}

    Packet Filter Rules:
    Green_Network__ { Games } Any Allow 

    When I try to play I get nowhere, and the PF log shows that something is trying to get out using ports in the 4500-4800 range. I'm using DX9, so from your post I assume that it's DirectX and not ASE that is trying to use these ports.

    Do this all make sense? If you can shed any light on this I'd be very grateful, as I don't like the idea of opening up all the ports each time I want to have a bit of fun.

    Thanks in advance for your time!

    Cheers
    Sprout  
  • You will have to define NAT rules for the traffic.
    ie Any DirectX traffic, forward to internal NIC of your games box.