Erinevus lehekülje "Pptpvpn" redaktsioonide vahel
Allikas: Kuutõrvaja
4. rida: | 4. rida: | ||
tuleb installida port mpd | tuleb installida port mpd | ||
− | cd /usr/ports/net/mpd | + | cd /usr/ports/net/mpd && make install |
− | make install | ||
seejärel | seejärel | ||
− | cd /usr/local/etc/mpd | + | cd /usr/local/etc/mpd |
alla failid | alla failid | ||
mpd.conf | mpd.conf | ||
− | - | + | default: |
− | + | load kasutaja | |
− | + | ||
+ | kasutaja: | ||
+ | new -i ng13 pptp13 pptp13 | ||
+ | set ipcp ranges 192.168.69.1/32 192.168.69.15/32 | ||
+ | load pptp | ||
+ | |||
+ | pptp: | ||
+ | set iface disable on-demand | ||
+ | set iface enable proxy-arp | ||
+ | set bundle disable multilink | ||
+ | set link yes acfcomp protocomp | ||
+ | set link no pap chap | ||
+ | set link enable chap | ||
+ | set link keep-alive 60 180 | ||
+ | set ipcp yes vjcomp | ||
+ | set ipcp dns 194.126.115.18 | ||
+ | set bundle enable compression | ||
+ | set link mtu 1460 | ||
+ | set ccp yes mppc | ||
+ | set ccp yes mpp-e40 | ||
+ | set ccp yes mpp-e128 | ||
+ | set ccp yes mpp-stateless | ||
+ | set bundle yes crypt-reqd | ||
− | |||
− | |||
− | |||
− | |||
− | + | mpd.links | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | pptp13: | |
− | + | set link type pptp | |
− | + | set pptp self sinu.v2limine.ip | |
− | pptp13: | + | set pptp enable incoming |
− | set link type pptp | + | set pptp disable originate |
− | set pptp self sinu.v2limine.ip | ||
− | set pptp enable incoming | ||
− | set pptp disable originate | ||
mpd.secret | mpd.secret | ||
− | |||
− | kasutaja "parool" 192.168.xx.xx(x ide asemel pane oma endpoint e ip | + | kasutaja "parool" 192.168.xx.xx(x ide asemel pane oma endpoint e ip |
− | mis saad sissehelistamisel) | + | mis saad sissehelistamisel) |
kõik tähelepanelik tasub olla tab'idega loomulikult nagu t väidab :) | kõik tähelepanelik tasub olla tab'idega loomulikult nagu t väidab :) | ||
64. rida: | 61. rida: | ||
pole küll ise seda töölesaanud kuid klientmasina mpd konf oleks masina jaoks selline | pole küll ise seda töölesaanud kuid klientmasina mpd konf oleks masina jaoks selline | ||
− | default: | + | default: |
− | load work | + | load work |
− | work: | + | work: |
− | new -i ng1 ms-pptp work | + | new -i ng1 ms-pptp work |
− | set log +pptp +pptp2 +pptp3 +lcp +auth | + | set log +pptp +pptp2 +pptp3 +lcp +auth |
− | #set ipcp ranges 192.168.3.9/32 192.168.3.10/32 | + | #set ipcp ranges 192.168.3.9/32 192.168.3.10/32 |
− | set ipcp ranges 0.0.0.0/0 0.0.0.0/0 | + | set ipcp ranges 0.0.0.0/0 0.0.0.0/0 |
− | set ipcp yes vjcomp | + | set ipcp yes vjcomp |
− | set ipcp dns 194.126.115.18 | + | set ipcp dns 194.126.115.18 |
− | set ipcp dns primar 194.126.101.34 | + | set ipcp dns primar 194.126.101.34 |
− | set ipcp enable req-pri-dns req-sec-dns | + | set ipcp enable req-pri-dns req-sec-dns |
− | set link disable chap pap | + | set link disable chap pap |
− | set link accept chap | + | set link accept chap |
− | set link yes acfcomp protocomp | + | set link yes acfcomp protocomp |
− | set iface idle 0 | + | set iface idle 0 |
− | set bundle enable multilink | + | set bundle enable multilink |
− | set bundle yes crypt-reqd | + | set bundle yes crypt-reqd |
− | set bundle enable compression | + | set bundle enable compression |
− | set link enable no-orig-auth | + | set link enable no-orig-auth |
− | set link keep-alive 60 600 | + | set link keep-alive 60 600 |
− | set ccp yes mppc | + | set ccp yes mppc |
− | set ccp enable mpp-compress | + | set ccp enable mpp-compress |
− | set ccp yes mpp-e40 | + | set ccp yes mpp-e40 |
− | set ccp yes mpp-e56 | + | set ccp yes mpp-e56 |
− | set ccp yes mpp-e128 | + | set ccp yes mpp-e128 |
− | set ccp yes mpp-stateless | + | set ccp yes mpp-stateless |
− | #set iface proxy-arp | + | #set iface proxy-arp |
− | set iface route 192.168.1.0/24 | + | set iface route 192.168.1.0/24 |
− | set bundle authname "kasutaja" | + | set bundle authname "kasutaja" |
− | set bundle password "parool" | + | set bundle password "parool" |
− | set iface disable on-demand | + | set iface disable on-demand |
− | set link max-redial 9 | + | set link max-redial 9 |
− | set iface mtu 1452 | + | set iface mtu 1452 |
− | #set ccp no mpp-compress | + | #set ccp no mpp-compress |
− | open iface | + | open iface |
Redaktsioon: 8. august 2006, kell 10:45
pptp vpn server mpd'ga
VPN sissehelistamis serveri loomiseks tuleb installida port mpd
cd /usr/ports/net/mpd && make install
seejärel
cd /usr/local/etc/mpd
alla failid
mpd.conf
default: load kasutaja kasutaja: new -i ng13 pptp13 pptp13 set ipcp ranges 192.168.69.1/32 192.168.69.15/32 load pptp pptp: set iface disable on-demand set iface enable proxy-arp set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 60 180 set ipcp yes vjcomp set ipcp dns 194.126.115.18 set bundle enable compression set link mtu 1460 set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd
mpd.links
pptp13: set link type pptp set pptp self sinu.v2limine.ip set pptp enable incoming set pptp disable originate
mpd.secret
kasutaja "parool" 192.168.xx.xx(x ide asemel pane oma endpoint e ip mis saad sissehelistamisel)
kõik tähelepanelik tasub olla tab'idega loomulikult nagu t väidab :)
selleks ,et enda XP'ga ühendada end pptp vpn serveri külge on netis
olemas väga hea eestikeelne õpetus http://kriku.gameland.ee/vpn/
saab ka käsurealt luua ühenduse pptp serveriga pole küll ise seda töölesaanud kuid klientmasina mpd konf oleks masina jaoks selline
default: load work
work: new -i ng1 ms-pptp work set log +pptp +pptp2 +pptp3 +lcp +auth #set ipcp ranges 192.168.3.9/32 192.168.3.10/32 set ipcp ranges 0.0.0.0/0 0.0.0.0/0 set ipcp yes vjcomp set ipcp dns 194.126.115.18 set ipcp dns primar 194.126.101.34 set ipcp enable req-pri-dns req-sec-dns set link disable chap pap set link accept chap set link yes acfcomp protocomp set iface idle 0 set bundle enable multilink set bundle yes crypt-reqd set bundle enable compression set link enable no-orig-auth set link keep-alive 60 600 set ccp yes mppc set ccp enable mpp-compress set ccp yes mpp-e40 set ccp yes mpp-e56 set ccp yes mpp-e128 set ccp yes mpp-stateless #set iface proxy-arp set iface route 192.168.1.0/24 set bundle authname "kasutaja" set bundle password "parool" set iface disable on-demand set link max-redial 9 set iface mtu 1452 #set ccp no mpp-compress open iface