Stawiam serwer do gry na porcie 7171 na komputerze o adresie 192.168.0.114. W sieci lokalnej dziala, wszyscy sie loguja i moga grac, a z zewnatrz, niestety nie.
Zrobilem forward portu, probowalem bawic sie jeszcze regulkami ipfwadm,ale bezskutecznie.
Prosilbym o ewentualna pomoc po przeanalizowaniu ponizszych wpisow:
Z gory bardzo dziekuje.
FREESCO v0.3.4 [ethernet] Tue Nov 22 14:47:28 2005
-- cat /etc/portfw.cfg --
tcp,7170,7170,192.168.0.114
tcp,80,80,192.168.0.114
#tcp,1000,-3000,192.168.0.114 # porty OTS, to nic nie daje
tcp,7171,7171,192.168.0.114 # serwer OTS
tcp,3306,3306,192.168.0.114 # mysql
----- : Routing : -----
----- route -n -----
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
255.255.255.255 * 255.255.255.255 UH 1500 0 0 eth1
255.255.255.255 * 255.255.255.255 UH 1500 0 0 eth0
83.19.25.16 * 255.255.255.252 U 1500 0 4 eth0
192.168.0.0 * 255.255.255.0 U 1500 0 7 eth1
127.0.0.0 * 255.0.0.0 U 3584 0 0 lo
default 83.19.25.17 * UG 1500 0 138 eth0
----- : Bridging : -----
----- brcfg -----
bridging is DISABLED debugging is DISABLED
bridge id 0x0001 00:60:52:09:d8:e8
designated root 0x0001 00:60:52:09:d8:e8
bridge max age 20 max age 20
bridge hello time 2 hello time 2
bridge forward delay 15 forward delay 15
root path cost 0 root port 0
flags NONE
--- port stats ---
port 1 port id 0x0001 port state FORWARDING (0x3)
designated root 0x0001 00:60:52:09:d8:e8
designated bridge 0x0001 00:60:52:09:d8:e8
path cost 100 designated cost 0
designated port 1 flags NONE
port 2 port id 0x0002 port state FORWARDING (0x3)
designated root 0x0001 00:60:52:09:d8:e8
designated bridge 0x0001 00:60:52:09:d8:e8
path cost 100 designated cost 0
designated port 128 flags NONE
----- : Port forwarding : -----
----- ipportfw -L -----
Prot Local Addr/Port > Remote Addr/Port
TCP 83.19.25.18/3306 > 192.168.0.114/3306
TCP 83.19.25.18/7171 > 192.168.0.114/7171
TCP 83.19.25.18/80 > 192.168.0.120/80
TCP 83.19.25.18/7170 > 192.168.0.120/7170
----- : Firewall/Input : -----
----- ipfwadm -I -lne -----
IP firewall input rules, default policy: deny
pkts bytes type prot opt tosa tosx ifname ifaddress source destination ports
0 0 acc all ---- 0xFF 0x00 lo 0.0.0.0 0.0.0.0/0 0.0.0.0/0 n/a
0 0 deny icmp ---- 0xFF 0x00 eth0 0.0.0.0 0.0.0.0/0 83.19.25.19 *
0 0 acc all ---- 0xFF 0x00 eth1 0.0.0.0 0.0.0.0/0 255.255.255.0 n/a
7583 923K acc all ---- 0xFF 0x00 eth1 0.0.0.0 192.168.0.0/24 0.0.0.0/0 n/a
0 0 acc all ---- 0xFF 0x00 eth1 0.0.0.0 192.168.0.0/24 0.0.0.0/0 n/a
0 0 deny all ---o 0xFF 0x00 * 0.0.0.0 192.168.0.0/24 0.0.0.0/0 n/a
4 112 acc icmp ---- 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 0
0 0 deny icmp ---- 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 *
0 0 deny tcp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 82
0 0 deny tcp ---- 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 67:68 -> *
0 0 deny tcp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 514
0 0 deny udp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 82
0 0 deny udp ---- 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 67:68 -> *
0 0 deny udp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 514
0 0 deny all ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 192.168.0.0/24 n/a
0 0 deny all ---o 0xFF 0x00 * 0.0.0.0 192.168.0.0/24 0.0.0.0/0 n/a
0 0 deny all ---o 0xFF 0x00 eth0 0.0.0.0 0.0.0.0/0 192.168.0.0/24 n/a
7510 4412K acc all ---- 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 n/a
----- : Firewall/Forward : -----
----- ipfwadm -F -lne -----
IP firewall forward rules, default policy: deny
pkts bytes type prot opt tosa tosx ifname ifaddress source destination ports
6875 869K acc/m all ---- 0xFF 0x00 eth0 0.0.0.0 192.168.0.0/24 0.0.0.0/0 n/a
0 0 acc/m all ---- 0xFF 0x00 * 1.1.1.1 0.0.0.0/0 0.0.0.0/0 n/a
0 0 acc/m all ---- 0xFF 0x00 * 0.0.0.0 192.168.0.0/24 0.0.0.0/0 n/a
----- : Firewall/Active Masquerading entries : -----
----- ipfwadm -M -ln -----
IP masquerading entries
prot expire source destination ports
tcp 119:57.70 192.168.0.118 193.47.187.130 1064 (49154) -> 7171
tcp 119:50.10 192.168.0.118 207.46.2.108 1211 (49309) -> 1863
tcp 116:05.98 192.168.0.118 217.17.45.133 1057 (49147) -> 443
|