Подправил, сохранился, перегрузился
Вынул кабель основного провайдера, подключил, подключил билайн
Лог роутера
Code:
Jan 28 22:36:19 udhcpc[159]: Lease of 10.44.22.205 obtained, lease time 172800
Jan 28 22:36:21 syslog: ERRO: MC-Router API already in use; Errno(125): Address already in use
Jan 28 22:36:21 dhcp client: bound IP : 10.44.22.205 from 10.44.22.1
Лог
Code:
start
export HOME='/'
export PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin'
export PWD='/'
export TZ='EET-2EEST,M3.5.0/3,M10.5.0/4'
export broadcast='10.44.22.255'
export dhcptype='5'
export dns='10.10.10.2 10.10.12.3'
export domain='beeline.ua'
export interface='vlan1'
export ip='10.44.22.205'
export lease='172800'
export mask='24'
export msroutes='8 10 10 44 22 1'
export router='10.44.22.1'
export serverid='10.10.14.2'
export subnet='255.255.255.0'
vlan1 10.44.22.205 br0 192.168.0.1 eth1 10.44.22.205
<=end=>
Code:
[maxya@maxya_wi_fi root]$ iptables -t nat -vnL POSTROUTING
Chain POSTROUTING (policy ACCEPT 16 packets, 2056 bytes)
pkts bytes target prot opt in out source destination
4 240 MASQUERADE all -- * vlan1 !10.44.22.205 0.0.0.0/0
258 33201 MASQUERADE all -- * eth1 !10.44.22.205 0.0.0.0/0
4 757 MASQUERADE all -- * br0 192.168.0.0/24 192.168.0.0/24
[maxya@maxya_wi_fi root]$
Даю команды
Code:
[maxya@maxya_wi_fi root]$ iptables -t nat -D POSTROUTING 2
[maxya@maxya_wi_fi root]$ iptables -t nat -I POSTROUTING -o eth1 -s !192.168.31.46 -j MASQUERADE
iptables v1.2.7a: host/network `!192.168.31.46' not found
Try `iptables -h' or 'iptables --help' for more information.
[maxya@maxya_wi_fi root]$ iptables -t nat -I POSTROUTING -o eth1 -s !91.195.XXX.10 -j MASQUERADE
iptables v1.2.7a: host/network `!91.195.XXX.10' not found
Try `iptables -h' or 'iptables --help' for more information.
[maxya@maxya_wi_fi root]$
Code:
[maxya@maxya_wi_fi root]$ iptables -t nat -vnL POSTROUTING
Chain POSTROUTING (policy ACCEPT 43 packets, 6962 bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- * vlan1 !10.44.22.205 0.0.0.0/0
2 470 MASQUERADE all -- * br0 192.168.0.0/24 192.168.0.0/24
[maxya@maxya_wi_fi root]$
Прошивка 1.9.2.7-10.7