I fixed it! It was a stupid mistake on my part. I forgot to forward udp traffic to the public ip in iptables. In case anyone else gets this kind of problem here are the rules you need:

In the *nat section add (on each line replace the first instance of X.X.X.X with your public ip and the second instance with your internal ip):

-A PREROUTING -d X.X.X.X -p tcp -j DNAT --to-destination X.X.X.X
-A PREROUTING -d X.X.X.X -p udp -j DNAT --to-destination X.X.X.X


In the *filter section add (on each line replace the first instance of X.X.X.X with internal ip):

-A FORWARD -d x.x.x.x -p tcp -j ACCEPT
-A FORWARD -d x.x.x.x -p udp -j ACCEPT

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

Reply via email to