WL-700g: PPPoE + Static IP
Здравствуйте, я - обладатель WL-700g и посему лишен возможности использовать прошивку от Oleg. В нашей локальной сети, для доступа в интернет используется PPPoE, но при этом имеется много локальных ресурсов. К сожалению, родная ASUS-овская прошивка не имеет PPPoE + Static IP, либо одно, либо другое. А хочется и на локальные ресурсы ходить и доступ в инет иметь. Шелл на железку, благодаря прошивке от kfurge, есть.
Делаю:
Code:
ifconfig eth0 10.100.10.xx netmask 255.255.0.0 up
затем
Code:
iptables -I INPUT -i eth0 -p tcp --syn --dport 21 -j ACCEPT
и FTP моей железки становится доступным из локальной сети. С самого маршрутизатора локалка отлично пингуется, а вот с писюков моей домашней сети (т.е. через маршрутизатор), к сожалению, нет :( Куда компать не знаю, поэтому прошу совета у вас.
На всякий случай привожу, как мне кажется, важную конфигурацию wl-700:
Code:
# ifconfig
br0 Link encap:Ethernet HWaddr 00:17:31:B4:29:CD
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:823221 errors:0 dropped:0 overruns:0 frame:0
TX packets:1949483 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:47622285 (45.4 MiB) TX bytes:2800570525 (2670.8 MiB)
eth0 Link encap:Ethernet HWaddr 00:17:31:B4:29:CD
inet addr:10.100.10.xx Bcast:10.255.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16056496 errors:24 dropped:0 overruns:24 frame:24
TX packets:2440426 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2320156434 (2212.6 MiB) TX bytes:2373680650 (2263.7 MiB)
Interrupt:4 Base address:0x1000
eth1 Link encap:Ethernet HWaddr 00:17:31:B4:29:CD
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:823145 errors:0 dropped:0 overruns:0 frame:926285
TX packets:2034956 errors:42 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:59197416 (56.4 MiB) TX bytes:2838496799 (2707.0 MiB)
Interrupt:2 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:6012 errors:0 dropped:0 overruns:0 frame:0
TX packets:6012 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1412192 (1.3 MiB) TX bytes:1412192 (1.3 MiB)
ppp0 Link encap:Point-Point Protocol
inet addr:10.200.10.xx P-t-P:10.200.0.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING MULTICAST MTU:1472 Metric:1
RX packets:1046706 errors:0 dropped:0 overruns:0 frame:0
TX packets:731381 errors:0 dropped:22 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1167498736 (1113.4 MiB) TX bytes:45910482 (43.7 MiB)
vlan0 Link encap:Ethernet HWaddr 00:17:31:B4:29:CD
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:86264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 iB) TX bytes:6300357 (6.0 MiB)
Code:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
gw * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
10.100.0.0 * 255.255.0.0 U 0 0 0 eth0
default gw 0.0.0.0 UG 0 0 0 ppp0
Code:
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp flags:SY
N,RST,ACK/SYN
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
ACCEPT tcp -- anywhere 192.168.1.1 tcp dpt:tproxy
ACCEPT tcp -- anywhere 10.200.10.15 tcp dpt:ftp
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN tcpmss match 1433:65535TCPMSS set 1432
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
ACCEPT tcp -- anywhere anywhere tcp flags:FIN,SYN,RS
T,ACK/RST limit: avg 1/sec burst 5
ACCEPT icmp -- anywhere anywhere limit: avg 1/sec bur
st 5 icmp echo-request
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain MACS (0 references)
target prot opt source destination
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SY
N tcpmss match 1433:65535TCPMSS set 1432
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
Chain logaccept (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level
warning tcp-sequence tcp-options ip-options prefix `<4>ACCEPT '
ACCEPT all -- anywhere anywhere
Chain logdrop (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level
warning tcp-sequence tcp-options ip-options prefix `<4>DROP'
DROP all -- anywhere anywhere
Есть какие нибудь соображения, как заставить компы домашней сети ходить в локалку?
Помогите настроить мегадевайс ASUS WL-700gE
Приобрёл два месяца назад мегадевайс ASUS WL-700gE
в сети провайдер раздаёт инет через VPN.
настроил на маршрутизаторе интернет через PPTP- всё замечательно работало. Но неделю назад провайдер чегото сделал с серверами и PPTP неподнимается, в логе пишется следующее
Quote:
Jul 25 16:44:26 pppd[1179]: Using interface ppp0
Jul 25 16:44:26 pppd[1179]: local IP address 10.64.64.64
Jul 25 16:44:26 pppd[1179]: remote IP address 10.112.112.112
Jul 25 16:44:26 pppd[1179]: Starting link
Jul 25 16:44:26 pppd[1179]: Serial connection established.
Jul 25 16:44:26 pppd[1179]: Connect: ppp0 <--> /dev/pts/0
Jul 25 16:44:41 pptp[1186]: warn[connect_timeout:pptp_callmgr.c:359]: connect timeout for 15 seconds
Jul 25 16:44:41 pptp[1186]: warn[open_inetsock:pptp_callmgr.c:391]: connect: Operation now in progress
Jul 25 16:44:41 pptp[1186]: fatal[callmgr_main:pptp_callmgr.c:134]: Could not open control connection to 192.168.1.2
Jul 25 16:44:41 pptp[1184]: fatal[open_callmgr:pptp.c:361]: Call manager exited with error 256
Jul 25 16:44:41 pppd[1179]: Modem hangup
Jul 25 16:44:41 pppd[1179]: Connection terminated.
Jul 25 16:45:12 pppd[1179]: Starting link
Jul 25 16:45:12 pppd[1179]: Serial connection established.
Jul 25 16:45:12 pppd[1179]: Connect: ppp0 <--> /dev/pts/0
Jul 25 16:45:27 pptp[1211]: warn[connect_timeout:pptp_callmgr.c:359]: connect timeout for 15 seconds
Jul 25 16:45:27 pptp[1211]: warn[open_inetsock:pptp_callmgr.c:391]: connect: Operation now in progress
Jul 25 16:45:27 pptp[1211]: fatal[callmgr_main:pptp_callmgr.c:134]: Could not open control connection to 192.168.1.2
Jul 25 16:45:27 pptp[1210]: fatal[open_callmgr:pptp.c:361]: Call manager exited with error 256
Jul 25 16:45:27 pppd[1179]: Modem hangup
Jul 25 16:45:27 pppd[1179]: Connection terminated.
Jul 25 16:45:57 pppd[1179]: Starting link
Jul 25 16:45:58 pppd[1179]: Serial connection established.
Jul 25 16:45:58 pppd[1179]: Connect: ppp0 <--> /dev/pts/0
Jul 25 16:46:13 pptp[1240]: warn[connect_timeout:pptp_callmgr.c:359]: connect timeout for 15 seconds
Jul 25 16:46:13 pptp[1240]: warn[open_inetsock:pptp_callmgr.c:391]: connect: Operation now in progress
Jul 25 16:46:13 pptp[1240]: fatal[callmgr_main:pptp_callmgr.c:134]: Could not open control connection to 192.168.1.2
Jul 25 16:46:13 pptp[1238]: fatal[open_callmgr:pptp.c:361]: Call manager exited with error 256
Jul 25 16:46:13 pppd[1179]: Modem hangup
Jul 25 16:46:13 pppd[1179]: Connection terminated.
Изза этого пришлось на маршрутизаторе настроить Static IP, а VPN поднимать с компьютера. При наличии дома двух компьютеров это очень неудобно. Провайдер помогать отказывается- мол на компютере всё работает, а маршрутизаторы мы ненастраиваем... :o
Помогите настроить аппарат пожалуйста