Reply To: vpn, connection to the internet but not to the local lan

Home Page Forums Network Management VPN vpn, connection to the internet but not to the local lan Reply To: vpn, connection to the internet but not to the local lan

#50908

networker007
Member

dear ppalias….

ifconfig -a

root@zeroshell root> ifconfig -a
DEFAULTBR Link encap:Ethernet HWaddr FE:DE:36:54:F5:D6
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ETH00 Link encap:Ethernet HWaddr 00:0D:B9:14:2F:30
inet addr:192.168.1.240 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19070 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2081929 (1.9 Mb) TX bytes:684 (684.0 b)
Interrupt:10 Base address:0x4000

ETH00:00 Link encap:Ethernet HWaddr 00:0D:B9:14:2F:30
inet addr:192.168.0.75 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0x4000

ETH01 Link encap:Ethernet HWaddr 00:0D:B9:14:2F:31
inet addr:192.168.1.251 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:633924 errors:0 dropped:0 overruns:0 frame:0
TX packets:270738 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:740100412 (705.8 Mb) TX bytes:18759745 (17.8 Mb)
Interrupt:12 Base address:0x6000

ETH01:00 Link encap:Ethernet HWaddr 00:0D:B9:14:2F:31
inet addr:192.168.1.75 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:12 Base address:0x6000

ETH02 Link encap:Ethernet HWaddr 00:80:48:7E:26:A4
UP BROADCAST RUNNING MULTICAST MTU:2290 Metric:1
RX packets:324251 errors:0 dropped:0 overruns:0 frame:0
TX packets:614435 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19022105 (18.1 Mb) TX bytes:737717143 (703.5 Mb)

ETH02:00 Link encap:Ethernet HWaddr 00:80:48:7E:26:A4
inet addr:192.168.10.75 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:2290 Metric:1

VPN99 Link encap:Ethernet HWaddr 00:FF:78:DF:F9:24
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

VPN99:00 Link encap:Ethernet HWaddr 00:FF:78:DF:F9:24
inet addr:192.168.250.254 Bcast:192.168.250.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

dummy0 Link encap:Ethernet HWaddr 62:AE:7D:5C:96:AF
inet addr:192.168.141.142 Bcast:192.168.141.255 Mask:255.255.255.0
BROADCAST 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)

dummy1 Link encap:Ethernet HWaddr 4A:2A:03:AC:60:A6
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:6779 errors:0 dropped:0 overruns:0 frame:0
TX packets:6779 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:439772 (429.4 Kb) TX bytes:439772 (429.4 Kb)

wifi0 Link encap:UNSPEC HWaddr 00-80-48-7E-26-A4-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:329772 errors:0 dropped:0 overruns:0 frame:774
TX packets:619042 errors:449 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:31725516 (30.2 Mb) TX bytes:763097680 (727.7 Mb)
Interrupt:9

root@zeroshell root>

route -n

root@zeroshell root> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ETH01
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ETH00
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 ETH00
192.168.250.0 0.0.0.0 255.255.255.0 U 0 0 0 VPN99
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 ETH02
0.0.0.0 192.168.1.100 0.0.0.0 UG 0 0 0 ETH01
root@zeroshell root>

ping from mac-notebook to 192.168.1.75: Destination Host Unreachable

if no rip and no nat is enabled there is no connection to the internet, nor to the internal network. is only activated eth01 nat on, then does the internet. the internal network is still not