This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PPTP RoadWarrior & routes

Hi everyone. 

I set up Astaro with VPN PPTP access and I need to specify a different route for every incoming connection on ppp* interface. The problem is that I can't do that manually because ppp interfaces are not up before a remote connection to Astaro is made. Is there a way to do that in an automatic way, so that every RoadWarrior connection can have its own needed static route?

Thanks.  


This thread was automatically locked due to age.
  •  [ QUOTE ]
     I set up Astaro with VPN PPTP access and I need to specify a different route for every incoming connection on ppp* interface. The problem is that I can't do that manually because ppp interfaces are not up before a remote connection to Astaro is made. Is there a way to do that in an automatic way, so that every RoadWarrior connection can have its own needed static route?

     

    [/ QUOTE ] 

    Would you be able to furnish further examples regarding what these roadwarriors are needing to access?  You are wanting a different route for each one, but where are they needing to get to? What is the purpose for the seperate routes? 
  • [ QUOTE ]
     
    Would you be able to furnish further examples regarding what these roadwarriors are needing to access?  You are wanting a different route for each one, but where are they needing to get to? What is the purpose for the seperate routes?  

    [/ QUOTE ]
     

    [/ QUOTE ] 

    We have two different lines to the internet, the first one is a flat 640 ADSL and the other one is a 2Mbit HDSL we have to pay for. We want to use ADSL to surf the internet from internal subnet and HDSL only for servers in the DMZ, so I had to do a sort of source routing (according to the instructions on the hacking document). All is working fine except the PPTP access for the RoadWarriors that connect to the HDSL public interface and want to access our internal subnet. The problem is that the default gw for Astaro is the HDSL router, but because of source routing, for our internal hosts the gw is the ADSL one. I just want to add a static route so that our internal hosts  are routed to the RoadWarriors subnet through the right path:

    ip route add 10.224.17.0/24  (PPTP-Pool Subnet)  dev ppp0 table 200

    Actually this works if I add the above route manually, but as soon as the ppp0 interface goes down the route is lost.
    I'd like to automatically add the appropriate route for each RoadWarrior as the ppp* interface is up.

    I tried to give you a more clean view of the problem... sorry for my awful english.