Есть роутер
Код: Выделить всё
FreeBSD bender.xz.local 9.1-RELEASE-p15 FreeBSD 9.1-RELEASE-p15 #19 r267242: Mon Jun 9 00:49:16 EEST 2014 root@bender.xz.local:/usr/obj/usr/src/sys/XZ9 i386
Но провайдер начал переход на pppoe - казалось бы всё просто, меняем немного настройки MPD и проблем быть не должно - но они есть:
- На клиентах в локальной сети не достпны некоторые сайты, например speedtest.net, хотя некоторые открываются нормально.
- На самом роутере всё работает нормально, в целях эксперимента на роутере поднял прокси и в клиентах указываю ходить через него - тоже всё в порядке.
- Пинг проходит от клиентов куда угодно, даже на тот-же speedtest.net
Ниже конфиги:
mpd.conf
Код: Выделить всё
startup:
default:
load pppoe_client
pppoe_client:
create bundle static B1
set iface route default
set iface name briz_vpn
set iface disable on-demand
set iface idle 0
set iface tcpmssfix
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pppoe
set link action bundle B1
set auth authname kasp*****
set auth password ************
set link max-redial 0
set link mtu 1460
set link keep-alive 10 60
set pppoe iface re0
set pppoe service ""
open
rc.conf
Код: Выделить всё
firewall_enable="YES"
firewall_nat_enable="YES"
firewall_type="OPEN"
firewall_nat_interface="briz_vpn"
firewall_logging="YES"
Код: Выделить всё
00050 48852 36470070 nat 123 ip4 from any to any via briz_vpn
00100 272 33386 allow ip from any to any via lo0
00200 0 0 deny ip from any to 127.0.0.0/8
00300 0 0 deny ip from 127.0.0.0/8 to any
00400 0 0 deny ip from any to ::1
00500 0 0 deny ip from ::1 to any
00600 0 0 allow ipv6-icmp from :: to ff02::/16
00700 0 0 allow ipv6-icmp from fe80::/10 to fe80::/10
00800 0 0 allow ipv6-icmp from fe80::/10 to ff02::/16
00900 0 0 allow ipv6-icmp from any to any ip6 icmp6types 1
01000 0 0 allow ipv6-icmp from any to any ip6 icmp6types 2,135,136
65000 42504 38145005 allow ip from any to any
65535 433 51761 deny ip from any to any
Win клиент в сети:
Код: Выделить всё
C:\WINDOWS\system32>ping www.speedtest.net
Pinging cs62.adn.edgecastcdn.net [93.184.219.82] with 32 bytes of data:
Reply from 93.184.219.82: bytes=32 time=40ms TTL=59
Reply from 93.184.219.82: bytes=32 time=40ms TTL=59
Reply from 93.184.219.82: bytes=32 time=40ms TTL=59
Reply from 93.184.219.82: bytes=32 time=40ms TTL=59
Ping statistics for 93.184.219.82:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 40ms, Maximum = 40ms, Average = 40ms
Пример когда нет ответа на http запрос
Код: Выделить всё
C:\WINDOWS\system32>d:\bin\curl.exe -vL www.speedtest.net
* Rebuilt URL to: www.speedtest.net/
* Hostname was NOT found in DNS cache
* Trying 93.184.219.82...
* Connected to www.speedtest.net (93.184.219.82) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.37.0
> Host: www.speedtest.net
> Accept: */*
>
^C
Код: Выделить всё
C:\WINDOWS\system32>d:\bin\curl.exe -vL ya.ru
* Rebuilt URL to: ya.ru/
* Hostname was NOT found in DNS cache
* Trying 213.180.204.3...
* Connected to ya.ru (213.180.204.3) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.37.0
> Host: ya.ru
> Accept: */*
>
< HTTP/1.1 200 Ok
* Server nginx is not blacklisted
< Server: nginx
< Date: Mon, 09 Jun 2014 10:56:09 GMT
< Content-Type: text/html; charset=UTF-8
< Content-Length: 8224
< Connection: close
< Cache-Control: no-cache,no-store,max-age=0,must-revalidate
< Expires: Mon, 09 Jun 2014 10:56:10 GMT
< Last-Modified: Mon, 09 Jun 2014 10:56:10 GMT
< P3P: policyref="/w3c/p3p.xml", CP="NON DSP ADM DEV PSD IVDo OUR IND STP PHY PR
E NAV UNI"
< Set-Cookie: yandexuid=395205381402311370; Expires=Thu, 06-Jun-2024 10:56:09 GM
T; Domain=.ya.ru; Path=/
< X-Frame-Options: DENY
< X-XRDS-Location: http://openid.yandex.ru/server_xrds/
<
<!DOCTYPE html><html lang="ru">...

Может у кого есть идеи ?