17 srp 2013, 20:37
startup:
# configure mpd users
set user foo bar admin
set user foo1 bar1
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 0.0.0.0 5006
set web open
default:
load pptp_client
pptp_client:
#
# PPTP client: only outgoing calls, auto reconnect,
# ipcp-negotiated address, one-sided authentication,
# default route points on ISP's end
#
create bundle static B1
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pptp
set link action bundle B1
set link disable chap eap mschap mschap-v2
#set link enable pap
set link accept pap
set auth authname XXX@XXX.HR
set auth password PASSWORD
set link max-redial 0
set link mtu 1460
#set link keep-alive 20 75
set pptp peer zg.xnet.hr
set pptp disable windowing
open
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:80:c4:00:0a:0b
inet 192.168.0.109 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::80:c4ff:fe00:a0b%epair0b prefixlen 64 scopeid 0x2
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
[b]ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1400
inet 31.147.158.56 --> 193.198.224.115 netmask 0xffffffff
inet6 fe80::7c49:c7cf:604:49b%ng0 prefixlen 64 scopeid 0x3
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>[/b]
17 srp 2013, 23:24
18 srp 2013, 11:52
jurastublic je napisao/la:Probaj pingat ip adrese a ne imena (da nije slucajno do dns-a).
24 srp 2013, 15:41