Hi,

I have a gateway/firewall which is the spider in the web for different IP 
segments. From two segments 192.168.2.0/24 and 192.168.10.0/24 I am trying to 
setup PPTP tunnels. I have two different pptp sections (pptp1 and pptp2) in 
both mpd.conf and mpd.links with unique names. Each pptp section has its own 
"pptp self" listen address.

The problem is that the mpd daemon only listens on the first pptp (pptp1) 
section and doesn't listen on the 2nd (pptp2). When I load pptp2 first before 
pptp1 it is the other way around. I am using sockstat -l to confirm where mpd 
is listening on?

Am I doing something wrong here? See attachments

Thx,

Peter
default:
        load pptp1
        load pptp2


pptp1:
        new -i ng1 pptp1 pptp1
        log +auth +ccp +chat +fsm +iface +pptp +ipcp +lcp +link +phys
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 0
        set bundle disable multilink
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp ranges 192.168.10.1/32 192.168.10.2/32
        set ipcp dns 192.168.1.1
        set ipcp nbns 192.168.1.135
        set bundle enable compression
        set ccp yes mppc

pptp2:
        new -i ng2 pptp2 pptp2
        log +auth +ccp +chat +fsm +iface +pptp +ipcp +lcp +link +phys
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 0
        set bundle disable multilink
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp ranges 192.168.2.1/32 192.168.2.2/32
        set ipcp dns 192.168.2.1
        set ipcp nbns 192.168.2.1
        set bundle enable compression
        set ccp yes mppc
pptp1:
        set link type pptp
        set pptp self 192.168.10.1
        set pptp enable incoming
        set pptp disable originate

pptp2:
        set link type pptp
        set pptp self 192.168.2.1
        set pptp enable incoming
        set pptp disable originate

Reply via email to