ports not open
HI, i have a linux box running mandrake 10.1, and i have two network cards in it:
eth0: has a connection to a router which accesses internet
eth1: which is connected to a computer running windows
I was wondering how i can open up ports 47624 tcp and 2300-2400 and also 31510 tcp, so that the windows machine can access these ports for games. Do i need to configure eth0 and eth1 seperatly? I already have NAT running on this machine using the following script (from this forum :-)):
#!/bin/sh
IPTABLES=/sbin/iptables
#All The lines below are NAT routing
# flush any old rules
$IPTABLES -F -t nat
# turn on NAT (IP masquerading for outgoing packets)
$IPTABLES -A POSTROUTING -t nat -o eth1 -j MASQUERADE
# enable IP forwarding (of incoming packets)
echo 1 > /proc/sys/net/ipv4/ip_forward
Thanks in advance
|