Reply To: ISP connection setup problem

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

#51168

xtacy
Member

@ifconfig wrote:

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:76031782 errors:0 dropped:0 overruns:0 frame:0
TX packets:49630556 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1183392016 (1128.5 Mb) TX bytes:3869829057 (3690.5 Mb)
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:31623457 errors:0 dropped:0 overruns:0 frame:0
TX packets:57821538 errors:0 dropped:0 overruns:0 carrier:0
collisions:9598748 txqueuelen:1000
RX bytes:2311971396 (2204.8 Mb) TX bytes:1126790893 (1074.5 Mb)
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:39506871 errors:0 dropped:0 overruns:0 frame:0
TX packets:37422143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3215544688 (3066.5 Mb) TX bytes:1098084078 (1047.2 Mb)
Interrupt:26 Base address:0xc800

dummy1 Link encap:Ethernet HWaddr 32:E2:83:E9:1C:EB
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:426471 errors:0 dropped:0 overruns:0 frame:0
TX packets:426471 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41543464 (39.6 Mb) TX bytes:41543464 (39.6 Mb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.96.1.184 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:18122247 errors:0 dropped:0 overruns:0 frame:0
TX packets:20429744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:4047006462 (3859.5 Mb) TX bytes:1951829921 (1861.4 Mb)

@iptables -L -v wrote:

root@zeroshell root> iptables -L -v
Chain INPUT (policy ACCEPT 3050K packets, 288M bytes)
pkts bytes target prot opt in out source destination
3515K 336M SYS_INPUT all — any any anywhere anywhere
429 24957 SYS_HTTPS tcp — any any anywhere anywhere tcp dpt:http
4094 568K SYS_HTTPS tcp — any any anywhere anywhere tcp dpt:https
1527 75492 SYS_SSH tcp — any any anywhere anywhere tcp dpt:ssh

Chain FORWARD (policy ACCEPT 126M packets, 102G bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 970K packets, 70M bytes)
pkts bytes target prot opt in out source destination
1432K 114M 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
4523 593K ACCEPT all — any any anywhere anywhere

Chain SYS_INPUT (1 references)
pkts bytes target prot opt in out source destination
426K 42M ACCEPT all — lo any anywhere anywhere
19356 4654K ACCEPT udp — any any anywhere anywhere udp spt:domain state ESTABLISHED
285 196K ACCEPT tcp — any any anywhere anywhere tcp spt:http state ESTABLISHED
0 0 ACCEPT tcp — any any anywhere anywhere tcp spt:8245 state ESTABLISHED
13411 1019K ACCEPT udp — any any anywhere anywhere udp spt:ntp state ESTABLISHED
3056K 288M RETURN all — any any anywhere anywhere

Chain SYS_OUTPUT (1 references)
pkts bytes target prot opt in out source destination
427K 42M ACCEPT all — any lo anywhere anywhere
21088 1535K ACCEPT udp — any any anywhere anywhere udp dpt:domain
402 24090 ACCEPT tcp — any any anywhere anywhere tcp dpt:http
0 0 ACCEPT tcp — any any anywhere anywhere tcp dpt:8245
13507 1027K ACCEPT udp — any any anywhere anywhere udp dpt:ntp
970K 70M 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
1486 73344 ACCEPT all — ETH00 any 10.54.29.3 anywhere
0 0 DROP all — any any anywhere anywhere

@iptables -t nat -L -v wrote:

root@zeroshell root> iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 2708K packets, 177M bytes)
pkts bytes target prot opt in out source destination

Chain POSTROUTING (policy ACCEPT 9197 packets, 568K bytes)
pkts bytes target prot opt in out source destination
2037K 108M SNATVS all — any any anywhere anywhere
1083K 58M MASQUERADE all — any ETH02 anywhere anywhere
944K 49M MASQUERADE all — any ppp0 anywhere anywhere

Chain OUTPUT (policy ACCEPT 177K packets, 14M bytes)
pkts bytes target prot opt in out source destination

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

P.S. both ISPs was turned on