Reply To: Heinzelmännchen Problem

Home Page Forums Network Management ZeroShell Heinzelmännchen Problem Reply To: Heinzelmännchen Problem

#50201

Pit
Member

Hello ppalias,
here are the results:

root@zeroshell root> iptables -L -v
Chain INPUT (policy ACCEPT 13 packets, 708 bytes)
pkts bytes target prot opt in out source destination
405 70508 SYS_INPUT all — any any anywhere anywhere
0 0 SYS_HTTPS tcp — any any anywhere anywhere tcp dpt:http
258 35718 SYS_HTTPS tcp — any any anywhere anywhere tcp dpt:https
40 4172 SYS_SSH tcp — any any anywhere anywhere tcp dpt:ssh

Chain FORWARD (policy ACCEPT 218 packets, 52580 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 317 packets, 171K bytes)
pkts bytes target prot opt in out source destination
412 179K SYS_OUTPUT all — any any anywhere anywhere

Chain NetBalancer (0 references)
pkts bytes target prot opt in out source destination

Chain SYS_HTTPS (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all — lo any anywhere anywhere
258 35718 ACCEPT all — any any anywhere anywhere

Chain SYS_INPUT (1 references)
pkts bytes target prot opt in out source destination
30 3966 ACCEPT all — lo any anywhere anywhere
20 6488 ACCEPT udp — any any anywhere anywhere udp spt:domain state ESTABLISHED
15 17252 ACCEPT tcp — any any anywhere anywhere tcp spt:http state ESTABLISHED
0 0 ACCEPT tcp — any any anywhere anywhere tcp spt:8245 state ESTABLISHED
29 2204 ACCEPT udp — any any anywhere anywhere udp spt:ntp state ESTABLISHED
311 40598 RETURN all — any any anywhere anywhere

Chain SYS_OUTPUT (1 references)
pkts bytes target prot opt in out source destination
30 3966 ACCEPT all — any lo anywhere anywhere
21 1593 ACCEPT udp — any any anywhere anywhere udp dpt:domain
15 908 ACCEPT tcp — any any anywhere anywhere tcp dpt:http
0 0 ACCEPT tcp — any any anywhere anywhere tcp dpt:8245
29 2204 ACCEPT udp — any any anywhere anywhere udp dpt:ntp
317 171K RETURN all — any any anywhere anywhere
Chain SYS_SSH (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all — lo any anywhere anywhere
40 4172 ACCEPT all — ETH04 any anywhere anywhere
0 0 DROP all — any any anywhere anywhere

root@zeroshell root> iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 40 packets, 4069 bytes)
pkts bytes target prot opt in out source destination
0 0 DNAT tcp — ETH04 any anywhere 192.168.0.199 tcp dpt:http to:192.168.7.201:80
15 900 DNAT tcp — ETH04 any anywhere 192.168.0.199 tcp dpts:snpp:commplex-main to:192.168.7.201:444-5000
11 660 DNAT tcp — ETH04 any anywhere anywhere tcp dpt:https to:192.168.7.75:443
1 60 DNAT tcp — ETH04 any anywhere anywhere tcp dpt:ssh to:192.168.7.75:22

Chain POSTROUTING (policy ACCEPT 11 packets, 923 bytes)
pkts bytes target prot opt in out source destination
92 6629 SNATVS all — any any anywhere anywhere
15 900 MASQUERADE all — any ETH03 anywhere anywhere
66 4806 MASQUERADE all — any ETH04 anywhere anywhere

Chain OUTPUT (policy ACCEPT 64 packets, 4932 bytes)
pkts bytes target prot opt in out source destination

Chain SNATVS (1 references)
pkts bytes target prot opt in out source destination

root@zeroshell root> ifconfig
ETH00 Link encap:Ethernet HWaddr 00:30:18:AA:BE:73
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0xe000

ETH01 Link encap:Ethernet HWaddr 00:30:18:AA:BE:74
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19

ETH02 Link encap:Ethernet HWaddr 00:30:18:AA:BE:75
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0x2000

ETH03 Link encap:Ethernet HWaddr 00:30:18:A1:71:5B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:112 errors:0 dropped:0 overruns:0 frame:0
TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16099 (15.7 Kb) TX bytes:41353 (40.3 Kb)
Interrupt:23 Base address:0x6000

ETH03:00 Link encap:Ethernet HWaddr 00:30:18:A1:71:5B
inet addr:192.168.7.75 Bcast:192.168.7.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:23 Base address:0x6000

ETH04 Link encap:Ethernet HWaddr 00:1B:21:56:DE:97
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:607 errors:0 dropped:0 overruns:0 frame:0
TX packets:600 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:122933 (120.0 Kb) TX bytes:210159 (205.2 Kb)

ETH04:00 Link encap:Ethernet HWaddr 00:1B:21:56:DE:97
inet addr:192.168.0.199 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

ETH04:01 Link encap:Ethernet HWaddr 00:1B:21:56:DE:97
inet addr:87.234.250.2 Bcast:87.234.250.7 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

VPN99 Link encap:Ethernet HWaddr 00:FF:0C:F5:78:13
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

VPN99:00 Link encap:Ethernet HWaddr 00:FF:0C:F5:78:13
inet addr:192.168.250.254 Bcast:192.168.250.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

dummy1 Link encap:Ethernet HWaddr 82:C4:47:FF:90:1B
inet addr:192.168.142.142 Bcast:192.168.142.255 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22023 (21.5 Kb) TX bytes:22023 (21.5 Kb)

Regards
Pit