Jump to content

Recommended Posts

Posted (edited)

Прощу прощения за заранее некорректный и простой вопрос. Сам я с кисками большого опыта и знаний не имею, но вот попалась Cisco 871 для нужд офиса )). в принципе все требуемое от нее настроил, но осталась одна загвоздка. При подключении по PPTP - подключившийся извне имеет доступ только ко внутренней сети, во внешнюю по какой-то причине не выпускает NAT. Требуется чтобы доступ юзеров извне был ко внутренней и внешней сети.

Кто сможет помочь и указать на ошибки?

вот конфиг

 

version 12.4

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

!

hostname office-gw

!

boot-start-marker

boot-end-marker

!

enable secret 5

!

no aaa new-model

!

resource policy

!

clock timezone msk 3

clock summer-time msk recurring last Sun Mar 0:00 last Sun Oct 0:00

ip subnet-zero

ip cef

no ip dhcp use vrf connected

ip dhcp excluded-address 192.168.0.200 192.168.0.254

!

ip dhcp pool office_lan

network 192.168.0.0 255.255.255.0

domain-name ччч.ru

dns-server 192.168.0.1

default-router 192.168.0.1

lease 2

!

ip domain name ччч.ru

ip name-server чч

ip name-server чч

ip ssh version 2

vpdn enable

!

vpdn-group 1

! Default PPTP VPDN group

accept-dialin

protocol pptp

virtual-template 1

!

!

!

!

username admin privilege 15 password 7

username support password 7

username vpn password 7

!

!

!

bridge irb

!

!

interface FastEthernet0

no cdp enable

!

interface FastEthernet1

no cdp enable

!

interface FastEthernet2

no cdp enable

!

interface FastEthernet3

no cdp enable

!

interface FastEthernet4

ip address ччч чччч

ip nat outside

ip virtual-reassembly

duplex auto

speed auto

no cdp enable

!

interface Virtual-Template1

ip unnumbered BVI1

ip nat inside

ip virtual-reassembly

peer default ip address dhcp-pool office_lan

ppp encrypt mppe auto

ppp authentication ms-chap pptp

bridge-group 1

!

interface Dot11Radio0

no ip address

no ip redirects

no ip unreachables

no ip proxy-arp

!

encryption mode ciphers tkip

!

ssid ТИПАССИД

authentication open

authentication key-management wpa

wpa-psk ascii 7

!

speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0

station-role root

no dot11 extension aironet

no cdp enable

bridge-group 1

bridge-group 1 subscriber-loop-control

bridge-group 1 spanning-disabled

bridge-group 1 block-unknown-source

no bridge-group 1 source-learning

no bridge-group 1 unicast-flooding

!

interface Vlan1

no ip address

bridge-group 1

!

interface BVI1

ip address 192.168.0.1 255.255.255.0

ip nat inside

ip virtual-reassembly

!

ip classless

ip route 0.0.0.0 0.0.0.0 ччччч permanent

!

no ip http server

no ip http secure-server

ip nat pool office_lan ччччч netmask 255.255.255.192

ip nat inside source list 1 pool office_lan overload

ip dns server

!

ip access-list extended NAT

permit ip 192.168.0.0 0.0.255.255 any

permit gre 192.168.0.0 0.0.255.255 any

!

access-list 1 permit 192.168.0.0 0.0.255.255

no cdp run

!

control-plane

!

bridge 1 protocol ieee

bridge 1 route ip

!

line con 0

login local

no modem enable

line aux 0

line vty 0 4

login local

transport input telnet ssh

!

scheduler max-task-time 5000

ntp clock-period 17174973

ntp server 80.250.162.177

end

Edited by Denis Samsonov
Posted
нафиг бридж?

сделайте proxy-arp на темплейте

interface Virtual-Template1

ip unnumbered BVI1

ip virtual-reassembly

peer default ip address dhcp-pool office_lan

ppp encrypt mppe auto

ppp authentication ms-chap pptp

не помогло. кстати proxy arp и так был, он по дефолту пашет

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...