MrElgernon
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору В чем может быть загвоздка.. Настроил фрю как шлюз поднял mpd5. Коннект проходит. Открывается соединение. Через впн доступен интернет но недоступна локальная сеть компании. При этом ipfw на время тестирования поставил на пропуск всех пакетов. В чем я неправ. Вылаживаю конфиги. cat /usr/local/etc/mpd5/mpd.conf Код: startup: # : foo,: bar set user foo bar admin set user foo1 bar1 set console self 127.0.0.1 5005 set console open set web self 127.0.0.1 5006 set web open default: load pptp_server pptp_server: set ippool add pool1 192.168.0.208 192.168.0.212 # Create clonable bundle template named B create bundle template B set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set ipcp yes vjcomp # Specify IP address pool for dynamic assigment. set ipcp ranges 192.168.0.1/32 ippool pool1 set ipcp dns 192.168.0.1 # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set mppc yes stateless # Create clonable link template named L create link template L pptp # Set bundle template to use set link action bundle B # Multilink adds some overhead, but gives full 1500 MTU. set link enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 # We reducing link mtu to avoid GRE packet fragmentation set link mtu 1460 # Configure PPTP set pptp self тут Ip vpnа # Allow to accept calls set link enable incoming | ifconfig Код: le0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 00:0c:26:f8:d5:80 inet xxx.xxx.xxx.xxx netmask 0xfffffe00 broadcast xx.xxx.x.xxx media: Ethernet autoselect status: active le1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 00:0c:29:f7:d5:8a inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect status: active plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1396 inet 192.168.0.1 --> 192.168.0.208 netmask 0xffffffff | le0 внешний интерфейс. le0 - локальная сеть При коннекте на Впн сервер открывается интерфейс ng0. Как видно выше ipfw 65535 allow ip from any to any Итак повторю вопрос. Соединяется по впну нормально, через него могу шарится в инете но не доступна локальная сеть. Прошу помоши. Строго не судите. Новичок. |