Reply To: ISP connection setup problem

Home Page Forums Network Management ZeroShell ISP connection setup problem Reply To: ISP connection setup problem

#51169

xtacy
Member

that’s what i got with the only ETH02/ISP2 connected (unchecked ETH01/ppp0’s Up and reboot ZS):

root@zeroshell root> ifconfig
ETH00 Link encap:Ethernet HWaddr 00:E0:F4:15:A4:64
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2460 errors:0 dropped:0 overruns:0 frame:0
TX packets:1573 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:215186 (210.1 Kb) TX bytes:370142 (361.4 Kb)
Interrupt:24 Base address:0xc000

ETH00:00 Link encap:Ethernet HWaddr 00:E0:F4:15:A4:64
inet addr:10.54.29.1 Bcast:10.54.29.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:24 Base address:0xc000

ETH01 Link encap:Ethernet HWaddr 00:E0:F4:15:A4:65
inet addr:10.33.169.85 Bcast:10.33.169.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:485 errors:0 dropped:0 overruns:0 frame:0
TX packets:673 errors:0 dropped:0 overruns:0 carrier:0
collisions:20 txqueuelen:1000
RX bytes:96800 (94.5 Kb) TX bytes:76935 (75.1 Kb)
Interrupt:25 Base address:0xc400

ETH02 Link encap:Ethernet HWaddr 00:E0:F4:15:A4:66
inet addr:188.230.21.97 Bcast:188.230.21.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4002 errors:0 dropped:0 overruns:0 frame:0
TX packets:1925 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:276933 (270.4 Kb) TX bytes:115782 (113.0 Kb)
Interrupt:26 Base address:0xc800

dummy1 Link encap:Ethernet HWaddr DA:65:93:83:13:E7
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:337 errors:0 dropped:0 overruns:0 frame:0
TX packets:337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34827 (34.0 Kb) TX bytes:34827 (34.0 Kb)

root@zeroshell root> iptables -L -v
Chain INPUT (policy ACCEPT 623 packets, 64569 bytes)
pkts bytes target prot opt in out source destination
1263 176K SYS_INPUT all — any any anywhere anywhere
0 0 SYS_HTTPS tcp — any any anywhere anywhere tcp dpt:http
214 36243 SYS_HTTPS tcp — any any anywhere anywhere tcp dpt:https
125 9652 SYS_SSH tcp — any any anywhere anywhere tcp dpt:ssh

Chain FORWARD (policy ACCEPT 2531 packets, 172K bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 581 packets, 263K bytes)
pkts bytes target prot opt in out source destination
1750 356K 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
214 36243 ACCEPT all — any any anywhere anywhere

Chain SYS_INPUT (1 references)
pkts bytes target prot opt in out source destination
219 21117 ACCEPT all — lo any anywhere anywhere
62 26116 ACCEPT udp — any any anywhere anywhere udp spt:domain state ESTABLISHED
17 18552 ACCEPT tcp — any any anywhere anywhere tcp spt:http state ESTABLISHED
0 0 ACCEPT tcp — any any anywhere anywhere tcp spt:8245 state ESTABLISHED
3 228 ACCEPT udp — any any anywhere anywhere udp spt:ntp state ESTABLISHED
962 110K RETURN all — any any anywhere anywhere

Chain SYS_OUTPUT (1 references)
pkts bytes target prot opt in out source destination
1003 82254 ACCEPT all — any lo anywhere anywhere
133 9144 ACCEPT udp — any any anywhere anywhere udp dpt:domain
21 1172 ACCEPT tcp — any any anywhere anywhere tcp dpt:http
0 0 ACCEPT tcp — any any anywhere anywhere tcp dpt:8245
12 912 ACCEPT udp — any any anywhere anywhere udp dpt:ntp
581 263K 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
125 9652 ACCEPT all — ETH00 any 10.54.29.3 anywhere
0 0 DROP all — any any anywhere anywhere
root@zeroshell root> iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 1067 packets, 69118 bytes)
pkts bytes target prot opt in out source destination

Chain POSTROUTING (policy ACCEPT 79 packets, 4638 bytes)
pkts bytes target prot opt in out source destination
1034 57037 SNATVS all — any any anywhere anywhere
786 42849 MASQUERADE all — any ETH02 anywhere anywhere
181 10483 MASQUERADE all — any ppp0 anywhere anywhere

Chain OUTPUT (policy ACCEPT 204 packets, 14830 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>