Hi guys,
I want to run a Soldat server from behind a (linux) router.
I forwarded ports 23073, 23083 both TCP and UDP.
from my firewall script:
quote:
FORWARD_TO_IP=1.1.1.2
# Soldat Ports (UDP)
iptables -t nat -A PREROUTING -p udp --dport 23073 -i eth0 -j DNAT --to $FORWARD_TO_IP:23073
iptables -A FORWARD -i eth0 -p udp -d $FORWARD_TO_IP --dport 23073 -j ACCEPT
iptables -t nat -A PREROUTING -p udp --dport 23083 -i eth0 -j DNAT --to $FORWARD_TO_IP:23083
iptables -A FORWARD -i eth0 -p udp -d $FORWARD_TO_IP --dport 23083 -j ACCEPT
# Soldat Ports (TCP)
iptables -t nat -A PREROUTING -p tcp --dport 23073 -i eth0 -j DNAT --to $FORWARD_TO_IP:23073
iptables -A FORWARD -i eth0 -p tcp -d $FORWARD_TO_IP --dport 23073 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 23083 -i eth0 -j DNAT --to $FORWARD_TO_IP:23083
iptables -A FORWARD -i eth0 -p tcp -d $FORWARD_TO_IP --dport 23083 -j ACCEPT
iptables -A FORWARD -i eth0 -p icmp -d $FORWARD_TO_IP -j ACCEPT
if i try to connect to localhost on the Windows machine (1.1.1.2) Soldat connects normally. But if i try to cennect from outside the network, Soldat says "Requesting game..." and thats it. [:-weepn]
I want to run a Soldat server from behind a (linux) router.
I forwarded ports 23073, 23083 both TCP and UDP.
from my firewall script:
quote:
FORWARD_TO_IP=1.1.1.2
# Soldat Ports (UDP)
iptables -t nat -A PREROUTING -p udp --dport 23073 -i eth0 -j DNAT --to $FORWARD_TO_IP:23073
iptables -A FORWARD -i eth0 -p udp -d $FORWARD_TO_IP --dport 23073 -j ACCEPT
iptables -t nat -A PREROUTING -p udp --dport 23083 -i eth0 -j DNAT --to $FORWARD_TO_IP:23083
iptables -A FORWARD -i eth0 -p udp -d $FORWARD_TO_IP --dport 23083 -j ACCEPT
# Soldat Ports (TCP)
iptables -t nat -A PREROUTING -p tcp --dport 23073 -i eth0 -j DNAT --to $FORWARD_TO_IP:23073
iptables -A FORWARD -i eth0 -p tcp -d $FORWARD_TO_IP --dport 23073 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 23083 -i eth0 -j DNAT --to $FORWARD_TO_IP:23083
iptables -A FORWARD -i eth0 -p tcp -d $FORWARD_TO_IP --dport 23083 -j ACCEPT
iptables -A FORWARD -i eth0 -p icmp -d $FORWARD_TO_IP -j ACCEPT
if i try to connect to localhost on the Windows machine (1.1.1.2) Soldat connects normally. But if i try to cennect from outside the network, Soldat says "Requesting game..." and thats it. [:-weepn]