Guest User!

You are not Sophos Staff.

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

[7.503]DHCP Relay

Hi All
I am trying to setup the following: I want want vpn users connect to get an ip from my internal DCHP server.I 've created a DHCP scope 192.168.5.0/24 but I am unable to use the DHCP relay functionality on my ASG.

I've created a VPN network (192.168.5.0/24) and assign it for the vpn users under remote access

On the DHCP realy functionality I need to specify two interfaces . I only have two interfaces on my ASG (internal,external). However, I am unable to add the external as interface

Any thoughts/hints/guidance?

Thanks


This thread was automatically locked due to age.
Parents
  • well i'm new here but with my linux Knowledge for 6 years i'm trying to help

    can i know what is your exact problem now ?!?!

    or

    you wanna know where did it get the ip : 10.242.1.1

    [SIZE="4"](I DON'T KNOW IF THIS SHOULD BE A BUG or NOT )[/SIZE]

    [:)] i think astaro just uses that IP as its Own Local IP from LAST VPN POOL CONFIGURATION

    it has nothing to do with your Iphone ip.
    i think everything is fine with you , ip 192.168.2.2 is assigned to you by your internal DHCP server right ?

    well i did login to my Astaro through SSH and checked what you are asking about hope i can explain it well :
     
    astaro default configuration is VPN POOL ( PPTP ) : 10.242.1.0/24

    so it places it in : /var/sec/chroot-pptp/etc/pptpd.conf

    like this :


    localip 10.242.1.1
    remoteip 10.242.1.2-254


    and if you Reconfigure it to use your internal DHCP server for example : DHCP-Watever  192.168.0.50 

    it will leave the  VPN POOL ( PPTP ) configuration in pptpd.conf :


    localip 10.242.1.1
    remoteip 10.242.1.2-254



    and it will add the DHCP Server Configuration in another file : 

    /var/sec/chroot-pptp/etc/ppp/options : 


    plugin /usr/sbin/aua.so facility pptp
    plugin /usr/sbin/dhcpc.so dhcp-interface eth0 dhcp-server 192.168.0.50



    hope its clear now what i'm trying to explain

    i have attached Screen shots same as Explanation Order trying to make it clear.
Reply
  • well i'm new here but with my linux Knowledge for 6 years i'm trying to help

    can i know what is your exact problem now ?!?!

    or

    you wanna know where did it get the ip : 10.242.1.1

    [SIZE="4"](I DON'T KNOW IF THIS SHOULD BE A BUG or NOT )[/SIZE]

    [:)] i think astaro just uses that IP as its Own Local IP from LAST VPN POOL CONFIGURATION

    it has nothing to do with your Iphone ip.
    i think everything is fine with you , ip 192.168.2.2 is assigned to you by your internal DHCP server right ?

    well i did login to my Astaro through SSH and checked what you are asking about hope i can explain it well :
     
    astaro default configuration is VPN POOL ( PPTP ) : 10.242.1.0/24

    so it places it in : /var/sec/chroot-pptp/etc/pptpd.conf

    like this :


    localip 10.242.1.1
    remoteip 10.242.1.2-254


    and if you Reconfigure it to use your internal DHCP server for example : DHCP-Watever  192.168.0.50 

    it will leave the  VPN POOL ( PPTP ) configuration in pptpd.conf :


    localip 10.242.1.1
    remoteip 10.242.1.2-254



    and it will add the DHCP Server Configuration in another file : 

    /var/sec/chroot-pptp/etc/ppp/options : 


    plugin /usr/sbin/aua.so facility pptp
    plugin /usr/sbin/dhcpc.so dhcp-interface eth0 dhcp-server 192.168.0.50



    hope its clear now what i'm trying to explain

    i have attached Screen shots same as Explanation Order trying to make it clear.
Children
  • well i'm new here but with my linux Knowledge for 6 years i'm trying to help

    can i know what is your exact problem now ?!?!

    or

    you wanna know where did it get the ip : 10.242.1.1

    [SIZE="4"](I DON'T KNOW IF THIS SHOULD BE A BUG or NOT )[/SIZE]

    [[:)]] i think astaro just uses that IP as its Own Local IP from LAST VPN POOL CONFIGURATION

    it has nothing to do with your Iphone ip.
    i think everything is fine with you , ip 192.168.2.2 is assigned to you by your internal DHCP server right ?

    well i did login to my Astaro through SSH and checked what you are asking about hope i can explain it well :
     
    astaro default configuration is VPN POOL ( PPTP ) : 10.242.1.0/24

    so it places it in : /var/sec/chroot-pptp/etc/pptpd.conf

    like this :


    localip 10.242.1.1
    remoteip 10.242.1.2-254


    and if you Reconfigure it to use your internal DHCP server for example : DHCP-Watever  192.168.0.50 

    it will leave the  VPN POOL ( PPTP ) configuration in pptpd.conf :


    localip 10.242.1.1
    remoteip 10.242.1.2-254



    and it will add the DHCP Server Configuration in another file : 

    /var/sec/chroot-pptp/etc/ppp/options : 


    plugin /usr/sbin/aua.so facility pptp
    plugin /usr/sbin/dhcpc.so dhcp-interface eth0 dhcp-server 192.168.0.50



    hope its clear now what i'm trying to explain

    i have attached Screen shots same as Explanation Order trying to make it clear.


    well I am trying to understand whether it;s possible to add a specific DHCP scope from my DHCP server and not the first one. i have a DHCP internal server and I have multiple dhcp scopes. I want to be able to speficy which scope to use [[:)]]